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.001473/0.001473, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001733/0.001733, allocations: 192 kB / 19.29 MB, free: 3.715 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.381/1.381, allocations: 205.1 MB / 225.2 MB, free: 12.3 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.001274/0.001274, allocations: 51.92 kB / 282.1 MB, free: 2.469 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08537/0.08666, allocations: 46.63 MB / 328.7 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance): time 0.00512/0.09183, allocations: 3.738 MB / 332.5 MB, free: 15.99 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.09429, allocations: 1.476 MB / 333.9 MB, free: 14.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000165/0.09447, allocations: 15.94 kB / 334 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001623/0.09613, allocations: 0.7584 MB / 334.7 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.09716, allocations: 0.5559 MB / 335.3 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007322/0.0979, allocations: 422.5 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004337/0.09834, allocations: 489.8 kB / 336.2 MB, free: 12.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006701/0.09902, allocations: 481.9 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.09929, allocations: 227.2 kB / 336.9 MB, free: 11.58 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.09959, allocations: 294.8 kB / 337.1 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.394e-05/0.09965, allocations: 44 kB / 337.2 MB, free: 11.25 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003239/0.09998, allocations: 215.8 kB / 337.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.981e-05/0.1001, allocations: 107.6 kB / 337.5 MB, free: 10.93 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001891/0.1003, allocations: 258.7 kB / 337.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.1009, allocations: 0.7125 MB / 338.5 MB, free: 9.965 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.101, allocations: 4 kB / 338.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.101, allocations: 0 / 338.5 MB, free: 9.961 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.101, allocations: 0 / 338.5 MB, free: 9.961 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.001901/0.1029, allocations: 0.9404 MB / 339.4 MB, free: 8.973 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.186e-05/0.1029, allocations: 12.03 kB / 339.4 MB, free: 8.961 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004057/0.107, allocations: 0.5857 MB / 340 MB, free: 8.375 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004233/0.1074, allocations: 315.6 kB / 340.3 MB, free: 8.027 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.047e-05/0.1075, allocations: 45.62 kB / 340.4 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.1076, allocations: 56.38 kB / 340.4 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009344/0.1085, allocations: 0.5726 MB / 341 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1085, allocations: 0 / 341 MB, free: 7.352 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.213e-05/0.1086, allocations: 24 kB / 341 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.1086, allocations: 12 kB / 341 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001054/0.1097, allocations: 0.6454 MB / 341.7 MB, free: 6.668 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.1126, allocations: 2.047 MB / 343.7 MB, free: 4.496 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002324/0.115, allocations: 2.993 MB / 346.7 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004284/0.1154, allocations: 274.1 kB / 347 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.569e-05/0.1155, allocations: 89.55 kB / 347.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1156, allocations: 38.94 kB / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.1156, allocations: 0 / 347.1 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of matching and sorting (n=49): time 0.001672/0.1173, allocations: 0.7584 MB / 347.9 MB, free: 15.72 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1173, allocations: 59.78 kB / 347.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.1175, allocations: 197 kB / 348.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.954e-05/0.1175, allocations: 37.7 kB / 348.2 MB, free: 15.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1177, allocations: 236.1 kB / 348.4 MB, free: 15.17 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.1178, allocations: 169.5 kB / 348.5 MB, free: 15 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001475/0.1179, allocations: 106.1 kB / 348.7 MB, free: 14.89 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1181, allocations: 338.8 kB / 349 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002942/0.1184, allocations: 161 kB / 349.1 MB, free: 14.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003844/0.1188, allocations: 283.7 kB / 349.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.1195, allocations: 470.2 kB / 349.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1195, allocations: 4 kB / 349.9 MB, free: 13.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001047/0.1205, allocations: 0.5822 MB / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1206, allocations: 8 kB / 350.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.016e-06/0.1206, allocations: 4 kB / 350.5 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003423/0.1209, allocations: 85.12 kB / 350.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004199/0.1213, allocations: 107.9 kB / 350.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001718/0.1231, allocations: 1.789 MB / 352.5 MB, free: 10.84 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002794/0.1234, allocations: 51.44 kB / 352.5 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.1234, allocations: 24.06 kB / 352.5 MB, free: 10.76 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.0001985/0.1236, allocations: 181.6 kB / 352.7 MB, free: 10.57 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/0.1237, allocations: 27.66 kB / 352.7 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.1248, allocations: 0.5434 MB / 353.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/0.1248, allocations: 15.98 kB / 353.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1248, allocations: 0 / 353.3 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1248, allocations: 3.984 kB / 353.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001646/0.1265, allocations: 1.163 MB / 354.5 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1265, allocations: 7.938 kB / 354.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003489/0.1268, allocations: 79.89 kB / 354.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002501/0.1271, allocations: 80.86 kB / 354.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1271, allocations: 12 kB / 354.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.1287, allocations: 1.771 MB / 356.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1287, allocations: 0 / 356.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001246/0.1299, allocations: 0.8107 MB / 357.2 MB, free: 5.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.13, allocations: 128.6 kB / 357.3 MB, free: 5.676 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.534e-05/0.1301, allocations: 11.94 kB / 357.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/0.1303, allocations: 23.98 kB / 357.4 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.1304, allocations: 32.39 kB / 357.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.796e-05/0.1304, allocations: 16 kB / 357.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1305, allocations: 147 kB / 357.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1306, allocations: 0 / 357.6 MB, free: 5.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.1311, allocations: 151.5 kB / 357.7 MB, free: 5.297 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.0002255/0.1313, allocations: 143.2 kB / 357.9 MB, free: 5.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009876/0.1323, allocations: 0.5893 MB / 358.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.1323, allocations: 0.9375 kB / 358.4 MB, free: 4.547 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005445/0.1329, allocations: 389.1 kB / 358.8 MB, free: 4.152 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003353/0.1332, allocations: 49.12 kB / 358.9 MB, free: 4.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.1345, allocations: 0.8583 MB / 359.7 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1349, allocations: 0.821 MB / 360.6 MB, free: 2.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000182/0.1351, allocations: 51.25 kB / 360.6 MB, free: 2.32 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.944e-05/0.1352, allocations: 35.44 kB / 360.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1352, allocations: 0 / 360.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of Templates: time 0.008405/0.1436, allocations: 4.374 MB / 365 MB, free: 13.91 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 cvode -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