Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009103/0.0009104, allocations: 92.75 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 184.2 kB / 17.57 MB, free: 6.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003064/0.0003065, allocations: 8 kB / 301.4 MB, free: 6.125 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1013, allocations: 50.4 MB / 351.8 MB, free: 3.707 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004094/0.1055, allocations: 3.307 MB / 355.1 MB, free: 388 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002451/0.1079, allocations: 1.402 MB / 356.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003295/0.1083, allocations: 12 kB / 356.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.1088, allocations: 163.3 kB / 356.7 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.1102, allocations: 499.1 kB / 357.2 MB, free: 14.31 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008599/0.111, allocations: 413.6 kB / 357.6 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005767/0.1116, allocations: 442 kB / 358 MB, free: 13.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.1131, allocations: 0.7797 MB / 358.8 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.1135, allocations: 187.2 kB / 359 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003511/0.1138, allocations: 227 kB / 359.2 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.162e-05/0.1139, allocations: 20 kB / 359.2 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004425/0.1144, allocations: 187.8 kB / 359.4 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.948e-05/0.1145, allocations: 79.61 kB / 359.5 MB, free: 11.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002276/0.1147, allocations: 228.5 kB / 359.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008033/0.1155, allocations: 0.654 MB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1155, allocations: 0 / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1155, allocations: 3.938 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.1156, allocations: 4 kB / 360.4 MB, free: 11.09 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002066/0.1176, allocations: 0.8262 MB / 361.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.1177, allocations: 12.03 kB / 361.2 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003482/0.1212, allocations: 495.9 kB / 361.7 MB, free: 9.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004829/0.1217, allocations: 306.1 kB / 362 MB, free: 9.383 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.1217, allocations: 45.69 kB / 362 MB, free: 9.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.1218, allocations: 52.28 kB / 362.1 MB, free: 9.289 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.1229, allocations: 0.5337 MB / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.123, allocations: 0 / 362.6 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.123, allocations: 28 kB / 362.7 MB, free: 8.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.678e-05/0.1231, allocations: 12 kB / 362.7 MB, free: 8.707 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001116/0.1242, allocations: 0.5868 MB / 363.3 MB, free: 8.121 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.1272, allocations: 1.879 MB / 365.1 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002111/0.1293, allocations: 2.174 MB / 367.3 MB, free: 3.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/0.1298, allocations: 269.9 kB / 367.6 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-05/0.1299, allocations: 89.53 kB / 367.7 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.764e-05/0.1299, allocations: 46.94 kB / 367.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.744e-06/0.13, allocations: 0 / 367.7 MB, free: 3.152 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.00181/0.1318, allocations: 0.7583 MB / 368.5 MB, free: 2.367 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.857e-05/0.1318, allocations: 55.84 kB / 368.5 MB, free: 2.301 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.132, allocations: 178.4 kB / 368.7 MB, free: 2.113 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.35e-05/0.1321, allocations: 29.7 kB / 368.7 MB, free: 2.078 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/0.1322, allocations: 228.3 kB / 368.9 MB, free: 1.852 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001311/0.1324, allocations: 165.6 kB / 369.1 MB, free: 1.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.359e-05/0.1324, allocations: 41.7 kB / 369.1 MB, free: 1.641 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.1326, allocations: 334.8 kB / 369.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.1329, allocations: 165 kB / 369.6 MB, free: 1.145 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.1333, allocations: 242.6 kB / 369.9 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006914/0.134, allocations: 428.8 kB / 370.3 MB, free: 440 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.134, allocations: 0 / 370.3 MB, free: 440 kB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1709/0.3049, allocations: 0.5392 MB / 370.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.234e-05/0.305, allocations: 5.844 kB / 370.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.305, allocations: 2.531 kB / 370.8 MB, free: 24.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004108/0.3054, allocations: 82.28 kB / 370.9 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004765/0.3059, allocations: 100.9 kB / 371 MB, free: 24.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001698/0.3076, allocations: 1.643 MB / 372.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003227/0.308, allocations: 49.42 kB / 372.7 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.781e-05/0.308, allocations: 18.14 kB / 372.7 MB, free: 23.16 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002312/0.3083, allocations: 171 kB / 372.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.3083, allocations: 27.44 kB / 372.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001201/0.3095, allocations: 0.5518 MB / 373.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.3095, allocations: 9.156 kB / 373.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.3096, allocations: 2.562 kB / 373.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.3096, allocations: 2.391 kB / 373.5 MB, free: 22.99 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.3115, allocations: 1.158 MB / 374.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.3115, allocations: 2.672 kB / 374.6 MB, free: 22.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003548/0.3118, allocations: 80.95 kB / 374.7 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003149/0.3122, allocations: 79.75 kB / 374.8 MB, free: 22.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.3122, allocations: 16.16 kB / 374.8 MB, free: 22.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001349/0.3136, allocations: 1.638 MB / 376.5 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.3136, allocations: 9.031 kB / 376.5 MB, free: 21.29 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.315, allocations: 0.8126 MB / 377.3 MB, free: 20.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.222e-05/0.3151, allocations: 115.4 kB / 377.4 MB, free: 20.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.709e-05/0.3151, allocations: 11.38 kB / 377.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002382/0.3154, allocations: 20.72 kB / 377.4 MB, free: 20.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.3155, allocations: 40.52 kB / 377.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3155, allocations: 13.47 kB / 377.5 MB, free: 20.72 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.3157, allocations: 140.4 kB / 377.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3157, allocations: 0 / 377.6 MB, free: 20.62 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006449/0.3163, allocations: 141.9 kB / 377.7 MB, free: 20.59 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002508/0.3166, allocations: 142.2 kB / 377.9 MB, free: 20.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.3177, allocations: 0.5812 MB / 378.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3177, allocations: 0 / 378.5 MB, free: 20.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005435/0.3183, allocations: 389.7 kB / 378.8 MB, free: 20 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.3187, allocations: 37.81 kB / 378.9 MB, free: 19.97 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.32, allocations: 1.069 MB / 380 MB, free: 19.28 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.3203, allocations: 0.8047 MB / 380.8 MB, free: 18.57 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002148/0.3205, allocations: 50.86 kB / 380.8 MB, free: 18.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3206, allocations: 31.91 kB / 380.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3206, allocations: 0 / 380.8 MB, free: 18.55 MB / 302.1 MB Notification: Performance of Templates: time 0.009381/0.33, allocations: 4.003 MB / 384.8 MB, free: 18.25 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches