Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001435/0.001435, allocations: 122.6 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001497/0.001497, allocations: 203.6 kB / 19.41 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.447/1.447, allocations: 227.7 MB / 247.9 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 71.89 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2233, allocations: 50.54 MB / 410.2 MB, free: 1.461 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.005153/0.2285, allocations: 3.716 MB / 413.9 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002699/0.2312, allocations: 1.487 MB / 415.4 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001741/0.2314, allocations: 8 kB / 415.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.2331, allocations: 0.7577 MB / 416.2 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008795/0.234, allocations: 385.9 kB / 416.6 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.2351, allocations: 0.552 MB / 417.1 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005436/0.2357, allocations: 458 kB / 417.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006518/0.2363, allocations: 377.7 kB / 417.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.2366, allocations: 223.2 kB / 418.1 MB, free: 9.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003303/0.237, allocations: 274.9 kB / 418.4 MB, free: 9.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.202e-05/0.237, allocations: 44 kB / 418.4 MB, free: 9.188 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003903/0.2374, allocations: 219.8 kB / 418.7 MB, free: 8.973 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.883e-05/0.2375, allocations: 107.6 kB / 418.8 MB, free: 8.867 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002275/0.2378, allocations: 238.8 kB / 419 MB, free: 8.633 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008612/0.2386, allocations: 0.7004 MB / 419.7 MB, free: 7.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.002e-06/0.2386, allocations: 3.984 kB / 419.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.2386, allocations: 0 / 419.7 MB, free: 7.926 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.433e-05/0.2386, allocations: 0 / 419.7 MB, free: 7.926 MB / 334.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.002231/0.2409, allocations: 0.9277 MB / 420.6 MB, free: 6.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.2409, allocations: 16.03 kB / 420.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.2446, allocations: 0.4884 MB / 421.1 MB, free: 6.445 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004595/0.2451, allocations: 303.7 kB / 421.4 MB, free: 6.109 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.295e-05/0.2451, allocations: 41.69 kB / 421.5 MB, free: 6.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001/0.2452, allocations: 56.36 kB / 421.5 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000984/0.2462, allocations: 0.5259 MB / 422.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.2462, allocations: 0 / 422.1 MB, free: 5.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.299e-05/0.2463, allocations: 24 kB / 422.1 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.515e-05/0.2463, allocations: 12 kB / 422.1 MB, free: 5.445 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.2474, allocations: 0.579 MB / 422.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.2505, allocations: 1.947 MB / 424.6 MB, free: 2.797 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002345/0.2529, allocations: 2.131 MB / 426.7 MB, free: 284 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004831/0.2534, allocations: 236.6 kB / 427 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001755/0.2535, allocations: 166.6 kB / 427.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/0.2536, allocations: 42.98 kB / 427.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=47): time 1.814e-06/0.2536, allocations: 0 / 427.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=47): time 0.001864/0.2554, allocations: 0.7388 MB / 427.9 MB, free: 15.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.2e-05/0.2555, allocations: 55.84 kB / 428 MB, free: 14.96 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/0.2557, allocations: 186.4 kB / 428.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.2557, allocations: 29.7 kB / 428.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.2559, allocations: 232.9 kB / 428.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.256, allocations: 174.5 kB / 428.6 MB, free: 14.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/0.2562, allocations: 82.25 kB / 428.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.2563, allocations: 334.8 kB / 429 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003217/0.2566, allocations: 153 kB / 429.1 MB, free: 13.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003932/0.257, allocations: 238.6 kB / 429.4 MB, free: 13.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007269/0.2578, allocations: 412.8 kB / 429.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.2578, allocations: 8 kB / 429.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001099/0.2589, allocations: 0.5394 MB / 430.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.2589, allocations: 8 kB / 430.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.2589, allocations: 0 / 430.3 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003502/0.2592, allocations: 85.08 kB / 430.4 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.2596, allocations: 91.89 kB / 430.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.2616, allocations: 1.775 MB / 432.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.2619, allocations: 51.66 kB / 432.3 MB, free: 10.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.2619, allocations: 16 kB / 432.3 MB, free: 10.34 MB / 350.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.0002227/0.2621, allocations: 170.9 kB / 432.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.818e-05/0.2622, allocations: 27.81 kB / 432.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.2634, allocations: 0.5356 MB / 433.1 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.2634, allocations: 8 kB / 433.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.654e-06/0.2634, allocations: 0 / 433.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2634, allocations: 0 / 433.1 MB, free: 9.586 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.2652, allocations: 1.14 MB / 434.2 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.2652, allocations: 3.938 kB / 434.2 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003473/0.2655, allocations: 79.89 kB / 434.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.2658, allocations: 84.86 kB / 434.4 MB, free: 8.215 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.2658, allocations: 11.98 kB / 434.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001887/0.2677, allocations: 1.766 MB / 436.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2677, allocations: 0 / 436.2 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001433/0.2692, allocations: 0.8068 MB / 437 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.2693, allocations: 104.9 kB / 437.1 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.989e-05/0.2693, allocations: 16.06 kB / 437.1 MB, free: 5.324 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002428/0.2695, allocations: 15.98 kB / 437.1 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.2696, allocations: 40.39 kB / 437.1 MB, free: 5.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.2696, allocations: 11.94 kB / 437.2 MB, free: 5.258 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.2698, allocations: 139.2 kB / 437.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2698, allocations: 0 / 437.3 MB, free: 5.121 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005208/0.2703, allocations: 151.6 kB / 437.4 MB, free: 4.973 MB / 350.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.0002375/0.2705, allocations: 139.2 kB / 437.6 MB, free: 4.828 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.2716, allocations: 0.5386 MB / 438.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2716, allocations: 0 / 438.1 MB, free: 4.273 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006267/0.2723, allocations: 365.6 kB / 438.5 MB, free: 3.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.2726, allocations: 35.89 kB / 438.5 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001405/0.274, allocations: 0.8315 MB / 439.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.2745, allocations: 0.8045 MB / 440.1 MB, free: 2.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001925/0.2747, allocations: 50.95 kB / 440.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.322e-05/0.2747, allocations: 31.44 kB / 440.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2747, allocations: 0 / 440.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of Templates: time 0.009659/0.2844, allocations: 4.408 MB / 444.6 MB, free: 13.7 MB / 366.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches