Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 117.7 kB / 17.7 MB, free: 5.293 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.001114/0.001114, allocations: 191 kB / 18.63 MB, free: 4.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 222.9 MB / 242.3 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001002/0.001002, allocations: 43.62 kB / 302.1 MB, free: 5.152 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09954/0.1006, allocations: 49.45 MB / 351.5 MB, free: 3.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.004843/0.1054, allocations: 3.679 MB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.1077, allocations: 1.437 MB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.1078, allocations: 12 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001677/0.1095, allocations: 0.7497 MB / 357.4 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001061/0.1106, allocations: 0.5325 MB / 357.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007682/0.1114, allocations: 432.3 kB / 358.3 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.1118, allocations: 473.9 kB / 358.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006736/0.1125, allocations: 457.8 kB / 359.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.1128, allocations: 219.1 kB / 359.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002869/0.1131, allocations: 275 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.445e-05/0.1132, allocations: 44 kB / 359.8 MB, free: 11.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.1135, allocations: 207.9 kB / 360 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.407e-05/0.1136, allocations: 115.6 kB / 360.1 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.1138, allocations: 238.8 kB / 360.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007051/0.1145, allocations: 0.6931 MB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1145, allocations: 0 / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1146, allocations: 0 / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.1146, allocations: 0 / 361 MB, free: 10.12 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002071/0.1166, allocations: 0.9171 MB / 361.9 MB, free: 9.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1167, allocations: 11.89 kB / 361.9 MB, free: 9.148 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.1205, allocations: 491.9 kB / 362.4 MB, free: 8.668 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005232/0.1211, allocations: 307.7 kB / 362.7 MB, free: 8.328 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.097e-05/0.1211, allocations: 45.69 kB / 362.8 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.659e-05/0.1212, allocations: 48.38 kB / 362.8 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.1224, allocations: 0.5259 MB / 363.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.261e-05/0.1224, allocations: 3.984 kB / 363.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.424e-05/0.1225, allocations: 24 kB / 363.4 MB, free: 7.68 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.1225, allocations: 16 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.1236, allocations: 0.5751 MB / 364 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00301/0.1266, allocations: 1.871 MB / 365.8 MB, free: 5.113 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.1287, allocations: 2.17 MB / 368 MB, free: 2.559 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/0.1292, allocations: 262.1 kB / 368.3 MB, free: 2.297 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.1293, allocations: 93.52 kB / 368.4 MB, free: 2.188 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/0.1294, allocations: 39 kB / 368.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 2.685e-06/0.1294, allocations: 0 / 368.4 MB, free: 2.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.002119/0.1315, allocations: 0.7387 MB / 369.1 MB, free: 1.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.1316, allocations: 59.84 kB / 369.2 MB, free: 1.305 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1318, allocations: 186.8 kB / 369.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.841e-05/0.1318, allocations: 41.7 kB / 369.4 MB, free: 1.062 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001104/0.1319, allocations: 220.4 kB / 369.6 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.132, allocations: 153.7 kB / 369.8 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000137/0.1322, allocations: 86.16 kB / 369.9 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1323, allocations: 334.8 kB / 370.2 MB, free: 272 kB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/0.1326, allocations: 153 kB / 370.3 MB, free: 120 kB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1845/0.3171, allocations: 236.4 kB / 370.6 MB, free: 25.27 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009719/0.3181, allocations: 420.9 kB / 371 MB, free: 25.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.036e-06/0.3182, allocations: 2.281 kB / 371 MB, free: 25.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001273/0.3194, allocations: 0.5339 MB / 371.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3195, allocations: 6.969 kB / 371.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3195, allocations: 3.406 kB / 371.5 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003608/0.3199, allocations: 83.23 kB / 371.6 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.3203, allocations: 97.25 kB / 371.7 MB, free: 25.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.3219, allocations: 1.767 MB / 373.5 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.3222, allocations: 44.88 kB / 373.5 MB, free: 23.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.223e-05/0.3223, allocations: 21.38 kB / 373.5 MB, free: 23.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (52): * Single equations (assignments): 51 * 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.0001958/0.3225, allocations: 169.8 kB / 373.7 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.349e-05/0.3225, allocations: 23.62 kB / 373.7 MB, free: 23.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.3236, allocations: 0.5483 MB / 374.3 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.3236, allocations: 6.406 kB / 374.3 MB, free: 23.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.3236, allocations: 5.312 kB / 374.3 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.3237, allocations: 2.344 kB / 374.3 MB, free: 23.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.3254, allocations: 1.142 MB / 375.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.3254, allocations: 0.6094 kB / 375.4 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003291/0.3257, allocations: 76.28 kB / 375.5 MB, free: 22.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000255/0.326, allocations: 80.02 kB / 375.6 MB, free: 22.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.761e-05/0.326, allocations: 9.484 kB / 375.6 MB, free: 22.67 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3274, allocations: 1.77 MB / 377.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3274, allocations: 5.203 kB / 377.4 MB, free: 21.09 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3287, allocations: 0.8041 MB / 378.2 MB, free: 20.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3288, allocations: 112.4 kB / 378.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.16e-05/0.3288, allocations: 14.34 kB / 378.3 MB, free: 20.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002274/0.329, allocations: 20.27 kB / 378.3 MB, free: 20.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.953e-05/0.3291, allocations: 40.64 kB / 378.4 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.022e-05/0.3292, allocations: 14.23 kB / 378.4 MB, free: 20.52 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001024/0.3293, allocations: 131.8 kB / 378.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3293, allocations: 0 / 378.5 MB, free: 20.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005474/0.3298, allocations: 146.2 kB / 378.6 MB, free: 20.39 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 (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,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.0002093/0.3301, allocations: 148.2 kB / 378.8 MB, free: 20.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009961/0.3311, allocations: 0.5653 MB / 379.3 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3311, allocations: 2.875 kB / 379.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005101/0.3316, allocations: 380.2 kB / 379.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003264/0.3319, allocations: 36.33 kB / 379.8 MB, free: 19.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3331, allocations: 0.8017 MB / 380.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3334, allocations: 0.8038 MB / 381.4 MB, free: 18.62 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.3336, allocations: 47.19 kB / 381.4 MB, free: 18.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.3337, allocations: 39.34 kB / 381.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3337, allocations: 0 / 381.4 MB, free: 18.59 MB / 302.1 MB Notification: Performance of Templates: time 0.02049/0.3542, allocations: 4.243 MB / 385.7 MB, free: 18.3 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches