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.001322/0.001322, allocations: 110.2 kB / 18.25 MB, free: 4.898 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.001075/0.001075, allocations: 195.3 kB / 19.18 MB, free: 3.977 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.305/1.305, allocations: 205.1 MB / 225.1 MB, free: 12.29 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.001238/0.001238, allocations: 43.94 kB / 281.3 MB, free: 3.156 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0887/0.08995, allocations: 46.63 MB / 328 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.004815/0.0948, allocations: 3.735 MB / 331.7 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.09735, allocations: 1.473 MB / 333.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002071/0.09758, allocations: 8 kB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.09932, allocations: 0.7623 MB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.1006, allocations: 0.5675 MB / 334.5 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008061/0.1014, allocations: 422.5 kB / 334.9 MB, free: 13.45 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004683/0.1019, allocations: 489.7 kB / 335.4 MB, free: 12.97 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006877/0.1025, allocations: 470.2 kB / 335.8 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.1029, allocations: 227.1 kB / 336.1 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002981/0.1032, allocations: 286.8 kB / 336.4 MB, free: 12 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.139e-05/0.1032, allocations: 44 kB / 336.4 MB, free: 11.96 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004386/0.1037, allocations: 219.8 kB / 336.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.1038, allocations: 111.6 kB / 336.7 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002084/0.104, allocations: 258.7 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007397/0.1047, allocations: 0.7048 MB / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1048, allocations: 0 / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1048, allocations: 0 / 337.7 MB, free: 10.67 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.066e-06/0.1048, allocations: 0 / 337.7 MB, free: 10.67 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.002016/0.1068, allocations: 0.9365 MB / 338.6 MB, free: 9.688 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1068, allocations: 8.031 kB / 338.6 MB, free: 9.68 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004069/0.1109, allocations: 0.5974 MB / 339.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.1113, allocations: 315.5 kB / 339.5 MB, free: 8.734 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.1114, allocations: 45.69 kB / 339.6 MB, free: 8.688 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.1115, allocations: 56.31 kB / 339.6 MB, free: 8.633 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009404/0.1124, allocations: 0.5726 MB / 340.2 MB, free: 8.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1124, allocations: 3.984 kB / 340.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.248e-05/0.1125, allocations: 20 kB / 340.2 MB, free: 8.035 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1125, allocations: 16 kB / 340.2 MB, free: 8.02 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001062/0.1136, allocations: 0.6454 MB / 340.9 MB, free: 7.371 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.1166, allocations: 2.063 MB / 342.9 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.119, allocations: 3.001 MB / 345.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.1195, allocations: 278 kB / 346.2 MB, free: 1.34 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.601e-05/0.1196, allocations: 89.53 kB / 346.3 MB, free: 1.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1196, allocations: 39 kB / 346.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 4.448e-06/0.1197, allocations: 0 / 346.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.0017/0.1214, allocations: 0.7504 MB / 347.1 MB, free: 416 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.392e-05/0.1214, allocations: 59.78 kB / 347.2 MB, free: 344 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.1216, allocations: 205 kB / 347.4 MB, free: 128 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.1217, allocations: 33.7 kB / 347.4 MB, free: 88 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.1218, allocations: 244 kB / 347.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.1219, allocations: 169.5 kB / 347.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.1221, allocations: 94.16 kB / 347.9 MB, free: 15.58 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.1222, allocations: 342.8 kB / 348.2 MB, free: 15.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1225, allocations: 157 kB / 348.4 MB, free: 15.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.1229, allocations: 287.6 kB / 348.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000689/0.1236, allocations: 470.2 kB / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.1236, allocations: 0 / 349.1 MB, free: 14.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001086/0.1247, allocations: 0.5901 MB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.1247, allocations: 4 kB / 349.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.1247, allocations: 8 kB / 349.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003628/0.1251, allocations: 85.02 kB / 349.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004252/0.1255, allocations: 115.8 kB / 349.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/0.1274, allocations: 1.77 MB / 351.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003402/0.1277, allocations: 55.42 kB / 351.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.53e-05/0.1278, allocations: 24 kB / 351.8 MB, free: 11.45 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.0002414/0.128, allocations: 173.7 kB / 351.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.588e-05/0.1281, allocations: 27.66 kB / 352 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.1292, allocations: 0.5591 MB / 352.5 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.1293, allocations: 4 kB / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.1293, allocations: 0 / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.1293, allocations: 0 / 352.5 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001695/0.131, allocations: 1.181 MB / 353.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.131, allocations: 0 / 353.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.1313, allocations: 83.89 kB / 353.8 MB, free: 9.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002869/0.1316, allocations: 80.81 kB / 353.9 MB, free: 9.258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.985e-05/0.1317, allocations: 12 kB / 353.9 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001633/0.1333, allocations: 1.791 MB / 355.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.1333, allocations: 0 / 355.7 MB, free: 7.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1346, allocations: 0.8141 MB / 356.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/0.1347, allocations: 112.6 kB / 356.6 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.576e-05/0.1348, allocations: 12 kB / 356.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.135, allocations: 19.98 kB / 356.6 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.303e-05/0.1351, allocations: 36.39 kB / 356.6 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.626e-05/0.1352, allocations: 20.05 kB / 356.7 MB, free: 6.266 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001232/0.1353, allocations: 147 kB / 356.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1353, allocations: 0 / 356.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005711/0.1359, allocations: 155.5 kB / 357 MB, free: 5.969 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.0002339/0.1361, allocations: 139.2 kB / 357.1 MB, free: 5.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.1373, allocations: 0.6052 MB / 357.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1373, allocations: 4 kB / 357.7 MB, free: 5.199 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005655/0.1379, allocations: 384.9 kB / 358.1 MB, free: 4.812 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.1383, allocations: 36.69 kB / 358.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.1399, allocations: 0.8991 MB / 359 MB, free: 3.832 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/0.1403, allocations: 0.821 MB / 359.8 MB, free: 2.988 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.1404, allocations: 43.42 kB / 359.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1404, allocations: 0 / 359.9 MB, free: 2.945 MB / 302.1 MB Notification: Performance of Templates: time 0.008522/0.1489, allocations: 6.63 MB / 366.5 MB, free: 12.31 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 -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