Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 107.6 kB / 21.19 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 213.1 kB / 24.48 MB, free: 3.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001517/0.001517, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2715, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004634/0.2761, allocations: 2.707 MB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002132/0.2783, allocations: 0.6777 MB / 435.7 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002665/0.2785, allocations: 15.94 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002963/0.2788, allocations: 59.42 kB / 435.8 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003195/0.2791, allocations: 87.2 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003976/0.2795, allocations: 91.81 kB / 436 MB, free: 3.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006245/0.2802, allocations: 382.8 kB / 436.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003888/0.2806, allocations: 120.8 kB / 436.5 MB, free: 2.555 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004334/0.281, allocations: 163.5 kB / 436.6 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003046/0.2813, allocations: 155.3 kB / 436.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.149e-05/0.2814, allocations: 32 kB / 436.8 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.122e-05/0.2815, allocations: 32 kB / 436.8 MB, free: 2.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.426e-05/0.2816, allocations: 75.75 kB / 436.9 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.2818, allocations: 147.3 kB / 437.1 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006709/0.2824, allocations: 381.5 kB / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2825, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2825, allocations: 0 / 437.4 MB, free: 1.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.639e-05/0.2825, allocations: 4 kB / 437.4 MB, free: 1.586 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001435/0.2839, allocations: 0.552 MB / 438 MB, free: 1.004 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/0.284, allocations: 8.031 kB / 438 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001191/0.2841, allocations: 44.7 kB / 438 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005734/0.2847, allocations: 210.7 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.299e-05/0.2847, allocations: 21.03 kB / 438.3 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-05/0.2848, allocations: 36.38 kB / 438.3 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.2857, allocations: 337.8 kB / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.2857, allocations: 0 / 438.6 MB, free: 328 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.97e-05/0.2857, allocations: 8 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.2857, allocations: 8 kB / 438.7 MB, free: 312 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007274/0.2865, allocations: 218.5 kB / 438.9 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.2887, allocations: 0.8633 MB / 439.7 MB, free: 15.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/0.2892, allocations: 150.2 kB / 439.9 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.2896, allocations: 124.7 kB / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.109e-05/0.2896, allocations: 0 / 440 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.269e-05/0.2897, allocations: 46.44 kB / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.883e-06/0.2897, allocations: 0 / 440 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008608/0.2905, allocations: 225.8 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.2906, allocations: 51.41 kB / 440.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.2909, allocations: 195.8 kB / 440.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.614e-05/0.2909, allocations: 33.7 kB / 440.5 MB, free: 14.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2911, allocations: 196.3 kB / 440.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.946e-05/0.2912, allocations: 75.36 kB / 440.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.2914, allocations: 53.98 kB / 440.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.2916, allocations: 330.8 kB / 441.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.2918, allocations: 68.52 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.2922, allocations: 151.3 kB / 441.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005922/0.2928, allocations: 217.3 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2928, allocations: 3.938 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007777/0.2935, allocations: 265.2 kB / 441.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.2936, allocations: 7.938 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.207e-06/0.2936, allocations: 4 kB / 441.9 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.2936, allocations: 4.25 kB / 441.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004543/0.2941, allocations: 79.89 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.2941, allocations: 4 kB / 442 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002565/0.2943, allocations: 31.77 kB / 442 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.2944, allocations: 15.94 kB / 442 MB, free: 12.73 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002283/0.2946, allocations: 141.8 kB / 442.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.253e-05/0.2947, allocations: 19.84 kB / 442.2 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006353/0.2953, allocations: 202.9 kB / 442.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.2953, allocations: 4 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.2953, allocations: 0 / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.2953, allocations: 3.984 kB / 442.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001139/0.2965, allocations: 0.5022 MB / 442.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.2965, allocations: 4 kB / 442.9 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003772/0.2969, allocations: 51.91 kB / 442.9 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.2969, allocations: 8.062 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.2969, allocations: 4 kB / 442.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.938e-06/0.2969, allocations: 7.984 kB / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.2969, allocations: 0 / 443 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008894/0.2978, allocations: 377.3 kB / 443.3 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.543e-05/0.2979, allocations: 23.84 kB / 443.3 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.2979, allocations: 4.062 kB / 443.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.2981, allocations: 15.98 kB / 443.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/0.2982, allocations: 19.97 kB / 443.4 MB, free: 11.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.882e-05/0.2982, allocations: 4 kB / 443.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001816/0.2984, allocations: 140.5 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2984, allocations: 7.938 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000615/0.299, allocations: 83.73 kB / 443.6 MB, free: 11.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001738/0.2992, allocations: 107.3 kB / 443.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006292/0.2998, allocations: 171.7 kB / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.2998, allocations: 0 / 443.9 MB, free: 10.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002448/0.3001, allocations: 83.83 kB / 444 MB, free: 10.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005158/0.3006, allocations: 20.09 kB / 444 MB, free: 10.67 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.3028, allocations: 0.8703 MB / 444.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002291/0.303, allocations: 163.1 kB / 445 MB, free: 9.582 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.194e-05/0.3031, allocations: 19.44 kB / 445 MB, free: 9.562 MB / 350.1 MB Notification: Performance of SimCode: time 8.81e-07/0.3031, allocations: 0 / 445 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Templates: time 0.008154/0.3113, allocations: 3.024 MB / 448.1 MB, free: 6.547 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.101595848973375]