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.001417/0.001417, allocations: 114.2 kB / 17.28 MB, free: 6.219 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.001629/0.001629, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.4/1.4, allocations: 205.1 MB / 224.1 MB, free: 12.44 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.00119/0.001191, allocations: 47.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09939/0.1006, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance): time 0.004952/0.1056, allocations: 3.756 MB / 330.5 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002612/0.1082, allocations: 1.442 MB / 332 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.1085, allocations: 8 kB / 332 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.1104, allocations: 0.7122 MB / 332.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.1116, allocations: 0.5212 MB / 333.2 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.1123, allocations: 394.8 kB / 333.6 MB, free: 13.91 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.1129, allocations: 482 kB / 334.1 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006466/0.1135, allocations: 442.1 kB / 334.5 MB, free: 13.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003092/0.1138, allocations: 215.1 kB / 334.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002896/0.1141, allocations: 290.8 kB / 335 MB, free: 12.51 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.381e-05/0.1142, allocations: 40 kB / 335.1 MB, free: 12.47 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004717/0.1147, allocations: 215.8 kB / 335.3 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.541e-05/0.1148, allocations: 111.6 kB / 335.4 MB, free: 12.15 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002172/0.115, allocations: 246.7 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007407/0.1157, allocations: 0.6853 MB / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1158, allocations: 0 / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1158, allocations: 0 / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1158, allocations: 0 / 336.3 MB, free: 11.22 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.002128/0.1179, allocations: 0.9365 MB / 337.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.118, allocations: 8.031 kB / 337.2 MB, free: 10.23 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004054/0.1221, allocations: 0.5857 MB / 337.8 MB, free: 9.645 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.1225, allocations: 319.6 kB / 338.1 MB, free: 9.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.1226, allocations: 41.69 kB / 338.2 MB, free: 9.25 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1227, allocations: 60.28 kB / 338.2 MB, free: 9.191 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009625/0.1236, allocations: 0.5531 MB / 338.8 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.388e-05/0.1237, allocations: 3.938 kB / 338.8 MB, free: 8.629 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.355e-05/0.1237, allocations: 28 kB / 338.8 MB, free: 8.602 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.1238, allocations: 12 kB / 338.8 MB, free: 8.59 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.1249, allocations: 0.6453 MB / 339.5 MB, free: 7.945 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.1286, allocations: 2.038 MB / 341.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003063/0.1317, allocations: 3.016 MB / 344.5 MB, free: 2.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003576/0.132, allocations: 222 kB / 344.8 MB, free: 1.969 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.077e-05/0.1321, allocations: 89.55 kB / 344.8 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.1322, allocations: 39 kB / 344.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 3.136e-06/0.1322, allocations: 0 / 344.9 MB, free: 1.816 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001951/0.1341, allocations: 0.7971 MB / 345.7 MB, free: 0.9883 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1342, allocations: 59.84 kB / 345.7 MB, free: 0.918 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002099/0.1344, allocations: 197.1 kB / 345.9 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.1345, allocations: 41.7 kB / 346 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/0.1346, allocations: 244 kB / 346.2 MB, free: 440 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1347, allocations: 165.6 kB / 346.4 MB, free: 272 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.1349, allocations: 98.16 kB / 346.5 MB, free: 168 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.135, allocations: 334.8 kB / 346.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002877/0.1353, allocations: 161 kB / 346.9 MB, free: 15.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003727/0.1357, allocations: 278 kB / 347.2 MB, free: 15.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006785/0.1364, allocations: 460.5 kB / 347.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1364, allocations: 4 kB / 347.7 MB, free: 14.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009972/0.1374, allocations: 0.586 MB / 348.3 MB, free: 14.26 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.1374, allocations: 7.938 kB / 348.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.1375, allocations: 4.406 kB / 348.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003734/0.1378, allocations: 92.75 kB / 348.4 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.1382, allocations: 103.9 kB / 348.5 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.1402, allocations: 2.041 MB / 350.5 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.1405, allocations: 55.42 kB / 350.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.1406, allocations: 28 kB / 350.6 MB, free: 11.8 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.0002176/0.1408, allocations: 177.7 kB / 350.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-05/0.1409, allocations: 23.72 kB / 350.8 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.142, allocations: 0.555 MB / 351.3 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.756e-06/0.142, allocations: 11.98 kB / 351.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.142, allocations: 0 / 351.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.142, allocations: 0 / 351.3 MB, free: 11.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/0.1436, allocations: 1.138 MB / 352.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.1436, allocations: 3.984 kB / 352.5 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003205/0.144, allocations: 83.84 kB / 352.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002766/0.1443, allocations: 84.8 kB / 352.7 MB, free: 9.641 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.1443, allocations: 12 kB / 352.7 MB, free: 9.629 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001834/0.1461, allocations: 2.039 MB / 354.7 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.1462, allocations: 4.031 kB / 354.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001203/0.1474, allocations: 0.8037 MB / 355.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.456e-05/0.1475, allocations: 112.7 kB / 355.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.115e-05/0.1475, allocations: 4 kB / 355.6 MB, free: 6.492 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.1477, allocations: 24.05 kB / 355.6 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.801e-05/0.1478, allocations: 40.38 kB / 355.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/0.1479, allocations: 12 kB / 355.7 MB, free: 6.418 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.148, allocations: 154.9 kB / 355.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.148, allocations: 0 / 355.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005933/0.1486, allocations: 155.5 kB / 356 MB, free: 6.113 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.0002397/0.1488, allocations: 143 kB / 356.1 MB, free: 5.961 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001168/0.15, allocations: 0.6087 MB / 356.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.15, allocations: 0 / 356.8 MB, free: 5.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005207/0.1506, allocations: 385.8 kB / 357.1 MB, free: 4.949 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004207/0.151, allocations: 32.14 kB / 357.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001496/0.1525, allocations: 1.068 MB / 358.2 MB, free: 3.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1529, allocations: 0.8171 MB / 359 MB, free: 2.98 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.1532, allocations: 59.25 kB / 359.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1533, allocations: 31.44 kB / 359.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1533, allocations: 0 / 359.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of Templates: time 0.008909/0.1622, allocations: 4.379 MB / 363.5 MB, free: 14.52 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/SeriesResonance/SeriesResonance.csv","../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.SeriesResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches