Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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 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.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 107.2 kB / 18.34 MB, free: 4.676 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.001046/0.001046, allocations: 188.1 kB / 19.28 MB, free: 3.75 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.428/1.428, allocations: 205.1 MB / 225.1 MB, free: 12.24 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.001476/0.001477, allocations: 43.94 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07753/0.07902, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.005468/0.08454, allocations: 3.741 MB / 332.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.08721, allocations: 1.473 MB / 333.9 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003562/0.08759, allocations: 11.94 kB / 333.9 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001852/0.08947, allocations: 0.7583 MB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001352/0.09084, allocations: 0.5676 MB / 335.3 MB, free: 13.15 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.09173, allocations: 414.5 kB / 335.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.09238, allocations: 497.8 kB / 336.2 MB, free: 12.26 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007379/0.09313, allocations: 473.9 kB / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000362/0.09351, allocations: 231.1 kB / 336.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003818/0.0939, allocations: 286.8 kB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.895e-05/0.094, allocations: 44 kB / 337.2 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004182/0.09442, allocations: 211.8 kB / 337.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.09453, allocations: 119.6 kB / 337.5 MB, free: 10.91 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.09476, allocations: 254.7 kB / 337.7 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.09557, allocations: 0.7164 MB / 338.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09558, allocations: 0 / 338.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.09559, allocations: 0 / 338.5 MB, free: 9.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.09561, allocations: 0 / 338.5 MB, free: 9.945 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.002084/0.0977, allocations: 0.9365 MB / 339.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.09774, allocations: 12.03 kB / 339.4 MB, free: 8.949 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/0.1021, allocations: 0.5896 MB / 340 MB, free: 8.359 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/0.1026, allocations: 315.6 kB / 340.3 MB, free: 8.012 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.136e-05/0.1027, allocations: 45.62 kB / 340.4 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1028, allocations: 56.38 kB / 340.4 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.1038, allocations: 0.5687 MB / 341 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.1039, allocations: 0 / 341 MB, free: 7.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.788e-05/0.1039, allocations: 24 kB / 341 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.1039, allocations: 16 kB / 341 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1052, allocations: 0.6454 MB / 341.7 MB, free: 6.652 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.1084, allocations: 2.047 MB / 343.7 MB, free: 4.48 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002526/0.1109, allocations: 2.997 MB / 346.7 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004708/0.1114, allocations: 266.1 kB / 347 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.889e-05/0.1115, allocations: 93.52 kB / 347.1 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1116, allocations: 46.94 kB / 347.1 MB, free: 496 kB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.244e-06/0.1116, allocations: 0 / 347.1 MB, free: 496 kB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001709/0.1133, allocations: 0.7427 MB / 347.8 MB, free: 15.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.755e-05/0.1133, allocations: 63.78 kB / 347.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.1135, allocations: 205 kB / 348.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1136, allocations: 37.7 kB / 348.1 MB, free: 15.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1137, allocations: 240.1 kB / 348.4 MB, free: 15.15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.1138, allocations: 165.5 kB / 348.5 MB, free: 14.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.114, allocations: 98.16 kB / 348.6 MB, free: 14.88 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.1141, allocations: 334.8 kB / 349 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.1144, allocations: 157 kB / 349.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003913/0.1148, allocations: 287.6 kB / 349.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007183/0.1156, allocations: 474.2 kB / 349.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1156, allocations: 4 kB / 349.9 MB, free: 13.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001087/0.1167, allocations: 0.5826 MB / 350.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.1167, allocations: 11.94 kB / 350.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.1167, allocations: 4 kB / 350.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003506/0.1171, allocations: 88.72 kB / 350.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004266/0.1175, allocations: 111.9 kB / 350.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001724/0.1192, allocations: 1.774 MB / 352.4 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.1196, allocations: 63.42 kB / 352.5 MB, free: 10.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.1196, allocations: 20 kB / 352.5 MB, free: 10.75 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (60): * Single equations (assignments): 59 * 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.0002049/0.1199, allocations: 173.6 kB / 352.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.705e-05/0.1199, allocations: 35.72 kB / 352.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.121, allocations: 0.5512 MB / 353.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.121, allocations: 4 kB / 353.3 MB, free: 9.973 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.121, allocations: 4 kB / 353.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1211, allocations: 0 / 353.3 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001724/0.1228, allocations: 1.171 MB / 354.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1228, allocations: 0 / 354.4 MB, free: 8.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.1232, allocations: 83.89 kB / 354.5 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002829/0.1235, allocations: 80.8 kB / 354.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.171e-05/0.1235, allocations: 12.06 kB / 354.6 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.1251, allocations: 1.775 MB / 356.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1251, allocations: 0 / 356.4 MB, free: 6.641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.1264, allocations: 0.8145 MB / 357.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.648e-05/0.1265, allocations: 116.6 kB / 357.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.1266, allocations: 8 kB / 357.3 MB, free: 5.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000256/0.1269, allocations: 19.98 kB / 357.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.98e-05/0.127, allocations: 40.45 kB / 357.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.127, allocations: 15.98 kB / 357.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001291/0.1271, allocations: 147 kB / 357.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1271, allocations: 0 / 357.5 MB, free: 5.438 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005534/0.1277, allocations: 159.5 kB / 357.7 MB, free: 5.281 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 (46): * Single equations (assignments): 45 * 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.0002516/0.1279, allocations: 143.2 kB / 357.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.1291, allocations: 0.5854 MB / 358.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1291, allocations: 0 / 358.4 MB, free: 4.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006329/0.1297, allocations: 386.1 kB / 358.8 MB, free: 4.145 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004291/0.1302, allocations: 47.8 kB / 358.9 MB, free: 4.098 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00149/0.1317, allocations: 0.8622 MB / 359.7 MB, free: 3.199 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00041/0.1321, allocations: 0.8132 MB / 360.5 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001997/0.1323, allocations: 55.27 kB / 360.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.32e-05/0.1324, allocations: 35.42 kB / 360.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1324, allocations: 4 kB / 360.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of Templates: time 0.009122/0.1415, allocations: 4.376 MB / 365 MB, free: 13.9 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches