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.0007896/0.0007896, allocations: 99.22 kB / 17.31 MB, free: 5.941 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.0008317/0.0008317, allocations: 178 kB / 18.21 MB, free: 5.418 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.132/1.132, allocations: 223.3 MB / 242.3 MB, free: 8 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000226/0.000226, allocations: 4 kB / 302.1 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07346/0.0737, allocations: 50.42 MB / 352.5 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.00316/0.0769, allocations: 3.304 MB / 355.8 MB, free: 340 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001963/0.07888, allocations: 1.406 MB / 357.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001976/0.0791, allocations: 8 kB / 357.2 MB, free: 14.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004082/0.07952, allocations: 163.3 kB / 357.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009992/0.08053, allocations: 498 kB / 357.9 MB, free: 14.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.08124, allocations: 408.2 kB / 358.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.0816, allocations: 438 kB / 358.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.08274, allocations: 0.7874 MB / 359.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.08297, allocations: 187.1 kB / 359.7 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.08321, allocations: 227 kB / 359.9 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.507e-05/0.08325, allocations: 20 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003218/0.08358, allocations: 187.8 kB / 360.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.668e-05/0.08365, allocations: 75.62 kB / 360.2 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.08381, allocations: 232.5 kB / 360.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004635/0.08428, allocations: 0.5181 MB / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.0843, allocations: 0 / 360.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.0843, allocations: 4 kB / 360.9 MB, free: 11.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.39e-06/0.08431, allocations: 0 / 360.9 MB, free: 11.18 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.001699/0.08602, allocations: 0.8194 MB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.08606, allocations: 12.03 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003106/0.08917, allocations: 495.9 kB / 362.2 MB, free: 9.82 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.08951, allocations: 311.7 kB / 362.5 MB, free: 9.477 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.403e-05/0.08955, allocations: 41.69 kB / 362.6 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/0.08964, allocations: 52.28 kB / 362.6 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000868/0.09051, allocations: 0.5415 MB / 363.2 MB, free: 8.836 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.09054, allocations: 4 kB / 363.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.857e-05/0.0906, allocations: 23.98 kB / 363.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.09061, allocations: 12 kB / 363.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009232/0.09154, allocations: 0.5829 MB / 363.8 MB, free: 8.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002529/0.09408, allocations: 1.883 MB / 365.7 MB, free: 6.227 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001794/0.09588, allocations: 2.178 MB / 367.8 MB, free: 3.664 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004074/0.0963, allocations: 260.5 kB / 368.1 MB, free: 3.406 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.959e-05/0.09639, allocations: 93.53 kB / 368.2 MB, free: 3.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.09642, allocations: 39 kB / 368.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=47): time 1.653e-06/0.09643, allocations: 0 / 368.2 MB, free: 3.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=47): time 0.001575/0.09801, allocations: 0.766 MB / 369 MB, free: 2.457 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.09806, allocations: 55.84 kB / 369 MB, free: 2.391 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.09822, allocations: 182.4 kB / 369.2 MB, free: 2.199 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.09826, allocations: 33.7 kB / 369.3 MB, free: 2.16 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.09836, allocations: 220.3 kB / 369.5 MB, free: 1.941 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.09847, allocations: 165.6 kB / 369.6 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-05/0.09853, allocations: 41.7 kB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001009/0.09864, allocations: 338.8 kB / 370 MB, free: 1.391 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.09892, allocations: 157 kB / 370.2 MB, free: 1.238 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000319/0.09924, allocations: 246.5 kB / 370.4 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006068/0.09986, allocations: 432.8 kB / 370.8 MB, free: 0.5156 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.09987, allocations: 3.938 kB / 370.8 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.1347/0.2346, allocations: 0.539 MB / 371.4 MB, free: 24.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.2347, allocations: 5.844 kB / 371.4 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.2347, allocations: 2.938 kB / 371.4 MB, free: 24.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/0.2351, allocations: 77.97 kB / 371.4 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.2355, allocations: 99.56 kB / 371.5 MB, free: 24.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.2369, allocations: 1.643 MB / 373.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002838/0.2372, allocations: 51.56 kB / 373.2 MB, free: 23.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2373, allocations: 18.59 kB / 373.3 MB, free: 23.1 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.0001631/0.2374, allocations: 171.2 kB / 373.4 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.459e-05/0.2375, allocations: 27.12 kB / 373.5 MB, free: 22.98 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009757/0.2385, allocations: 0.5531 MB / 374 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.2385, allocations: 5.062 kB / 374 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2385, allocations: 1.688 kB / 374 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2385, allocations: 2.719 kB / 374 MB, free: 22.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.2401, allocations: 1.159 MB / 375.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.2401, allocations: 1 kB / 375.2 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003/0.2404, allocations: 79.66 kB / 375.3 MB, free: 22.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/0.2406, allocations: 82.61 kB / 375.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.2407, allocations: 16.98 kB / 375.3 MB, free: 22.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0011/0.2418, allocations: 1.642 MB / 377 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2418, allocations: 1.469 kB / 377 MB, free: 21.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2428, allocations: 0.816 MB / 377.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.836e-05/0.2429, allocations: 120.4 kB / 377.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/0.2429, allocations: 7.922 kB / 377.9 MB, free: 20.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2432, allocations: 26.78 kB / 378 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.39e-05/0.2432, allocations: 37.17 kB / 378 MB, free: 20.7 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.257e-05/0.2433, allocations: 15.53 kB / 378 MB, free: 20.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.282e-05/0.2434, allocations: 132.5 kB / 378.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2434, allocations: 0 / 378.1 MB, free: 20.61 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004394/0.2438, allocations: 147.3 kB / 378.3 MB, free: 20.57 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.0001625/0.244, allocations: 136 kB / 378.4 MB, free: 20.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008433/0.2448, allocations: 0.5771 MB / 379 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2448, allocations: 1.375 kB / 379 MB, free: 20.19 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004714/0.2453, allocations: 389.7 kB / 379.4 MB, free: 19.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.2457, allocations: 37.14 kB / 379.4 MB, free: 19.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001164/0.2469, allocations: 1.092 MB / 380.5 MB, free: 19.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002347/0.2471, allocations: 0.8078 MB / 381.3 MB, free: 18.53 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.2472, allocations: 34.42 kB / 381.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2472, allocations: 3.828 kB / 381.3 MB, free: 18.52 MB / 302.1 MB Notification: Performance of Templates: time 0.008916/0.2561, allocations: 6.252 MB / 387.6 MB, free: 17.03 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 -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