Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|inductor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001297/0.001297, allocations: 106.2 kB / 18.25 MB, free: 4.773 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.001383/0.001383, allocations: 195.3 kB / 19.19 MB, free: 3.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 225 MB, free: 12.32 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 56.61 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08245/0.08375, allocations: 46.63 MB / 328 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.005158/0.08895, allocations: 3.735 MB / 331.7 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002621/0.0916, allocations: 1.465 MB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003434/0.09197, allocations: 15.88 kB / 333.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.09385, allocations: 0.7584 MB / 333.9 MB, free: 14.46 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.09522, allocations: 0.5675 MB / 334.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008817/0.09612, allocations: 418.5 kB / 334.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005986/0.09673, allocations: 485.9 kB / 335.4 MB, free: 13 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006781/0.09741, allocations: 394.1 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.09779, allocations: 211.2 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003711/0.09817, allocations: 286.8 kB / 336.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.272e-05/0.09827, allocations: 44 kB / 336.3 MB, free: 12.09 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004662/0.09874, allocations: 207.8 kB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.09886, allocations: 111.6 kB / 336.6 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000242/0.09911, allocations: 250.7 kB / 336.8 MB, free: 11.53 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008721/0.09999, allocations: 0.6892 MB / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1, allocations: 0 / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1, allocations: 0 / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.971e-05/0.1, allocations: 0 / 337.5 MB, free: 10.84 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002256/0.1023, allocations: 0.9325 MB / 338.5 MB, free: 9.855 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1023, allocations: 16.03 kB / 338.5 MB, free: 9.84 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004382/0.1067, allocations: 0.5857 MB / 339.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004429/0.1072, allocations: 307.7 kB / 339.4 MB, free: 8.914 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.1073, allocations: 49.67 kB / 339.4 MB, free: 8.863 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.1074, allocations: 68.2 kB / 339.5 MB, free: 8.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.1084, allocations: 0.5531 MB / 340 MB, free: 8.242 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/0.1084, allocations: 4 kB / 340 MB, free: 8.238 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.1085, allocations: 24 kB / 340.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.208e-05/0.1085, allocations: 15.94 kB / 340.1 MB, free: 8.199 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.1097, allocations: 0.6337 MB / 340.7 MB, free: 7.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.1128, allocations: 2.046 MB / 342.8 MB, free: 5.379 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002656/0.1154, allocations: 3.012 MB / 345.8 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003745/0.1158, allocations: 226.1 kB / 346 MB, free: 1.578 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.671e-05/0.1159, allocations: 89.55 kB / 346.1 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.116, allocations: 35 kB / 346.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.655e-06/0.116, allocations: 0 / 346.1 MB, free: 1.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.002014/0.118, allocations: 0.8049 MB / 346.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.118, allocations: 55.84 kB / 347 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.1183, allocations: 201.1 kB / 347.2 MB, free: 332 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.1183, allocations: 29.7 kB / 347.2 MB, free: 296 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.1185, allocations: 248 kB / 347.4 MB, free: 44 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.1186, allocations: 165.8 kB / 347.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.1188, allocations: 94.14 kB / 347.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1189, allocations: 342.8 kB / 348 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/0.1192, allocations: 157 kB / 348.2 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.1196, allocations: 277.9 kB / 348.5 MB, free: 14.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007004/0.1203, allocations: 460.5 kB / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1203, allocations: 0 / 348.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001101/0.1214, allocations: 0.5787 MB / 349.5 MB, free: 13.89 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1215, allocations: 15.92 kB / 349.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.1215, allocations: 0 / 349.5 MB, free: 13.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003573/0.1219, allocations: 92.75 kB / 349.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.1223, allocations: 115.8 kB / 349.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002063/0.1244, allocations: 2.041 MB / 351.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003066/0.1247, allocations: 55.42 kB / 351.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.1247, allocations: 20 kB / 351.8 MB, free: 11.41 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (58): * Single equations (assignments): 57 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002199/0.125, allocations: 169.7 kB / 352 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.721e-05/0.125, allocations: 27.72 kB / 352 MB, free: 11.21 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001111/0.1262, allocations: 0.5629 MB / 352.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.1262, allocations: 4 kB / 352.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1262, allocations: 4 kB / 352.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/0.1262, allocations: 3.984 kB / 352.6 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.1279, allocations: 1.145 MB / 353.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.1279, allocations: 0 / 353.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003284/0.1283, allocations: 75.89 kB / 353.8 MB, free: 9.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002828/0.1286, allocations: 92.8 kB / 353.9 MB, free: 9.25 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.1286, allocations: 11.98 kB / 353.9 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001974/0.1306, allocations: 2.039 MB / 355.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1306, allocations: 0 / 355.9 MB, free: 7.062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/0.132, allocations: 0.8076 MB / 356.8 MB, free: 6.234 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.212e-05/0.1321, allocations: 104.8 kB / 356.9 MB, free: 6.113 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1321, allocations: 8 kB / 356.9 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1324, allocations: 19.98 kB / 356.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.1324, allocations: 36.33 kB / 356.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.1325, allocations: 19.98 kB / 356.9 MB, free: 6.031 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.1326, allocations: 146.9 kB / 357.1 MB, free: 5.887 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.392e-06/0.1326, allocations: 4.062 kB / 357.1 MB, free: 5.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006264/0.1333, allocations: 171.5 kB / 357.3 MB, free: 5.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (voltageSource.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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002278/0.1335, allocations: 127.2 kB / 357.4 MB, free: 5.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.1348, allocations: 0.6056 MB / 358 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1348, allocations: 4.062 kB / 358 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006053/0.1354, allocations: 381 kB / 358.4 MB, free: 4.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.1359, allocations: 37.27 kB / 358.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/0.1374, allocations: 0.8936 MB / 359.3 MB, free: 3.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1378, allocations: 0.8171 MB / 360.1 MB, free: 2.766 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.138, allocations: 35.42 kB / 360.1 MB, free: 2.73 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.138, allocations: 4 kB / 360.1 MB, free: 2.727 MB / 302.1 MB Notification: Performance of Templates: time 0.00981/0.1478, allocations: 6.586 MB / 366.7 MB, free: 12.13 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches