Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009265/0.0009265, allocations: 83.69 kB / 21.19 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008775/0.0008775, allocations: 165 kB / 24.56 MB, free: 20 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9478/0.9478, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") translateModel(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.213e-05/1.347e-05, allocations: 2.312 kB / 273 MB, free: 1.559 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance): time 0.003063/0.003076, allocations: 3.681 MB / 276.7 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.004684, allocations: 1.437 MB / 278.1 MB, free: 12.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001433/0.004827, allocations: 11.94 kB / 278.1 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.005828, allocations: 0.7894 MB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.006457, allocations: 401.8 kB / 279.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006092/0.007067, allocations: 0.5254 MB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003847/0.007451, allocations: 485.7 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005236/0.007975, allocations: 422.1 kB / 280.7 MB, free: 9.797 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.008358, allocations: 311.2 kB / 281 MB, free: 9.492 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.008567, allocations: 215.4 kB / 281.2 MB, free: 9.281 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.725e-05/0.008614, allocations: 44 kB / 281.3 MB, free: 9.238 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.008908, allocations: 207.7 kB / 281.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.008964, allocations: 115.5 kB / 281.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.009069, allocations: 159.6 kB / 281.7 MB, free: 8.766 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005039/0.009573, allocations: 0.5099 MB / 282.2 MB, free: 8.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.009576, allocations: 4 kB / 282.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009576, allocations: 0 / 282.2 MB, free: 8.25 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.009583, allocations: 3.984 kB / 282.2 MB, free: 8.246 MB / 266.7 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.001257/0.01084, allocations: 0.9485 MB / 283.2 MB, free: 7.258 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.01087, allocations: 11.97 kB / 283.2 MB, free: 7.246 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001814/0.01268, allocations: 0.5858 MB / 283.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002846/0.01297, allocations: 263.8 kB / 284 MB, free: 6.375 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.013, allocations: 37.69 kB / 284.1 MB, free: 6.34 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.988e-05/0.01306, allocations: 56.38 kB / 284.1 MB, free: 6.285 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000522/0.01358, allocations: 425.4 kB / 284.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.01359, allocations: 192 / 284.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.563e-05/0.01363, allocations: 28.12 kB / 284.6 MB, free: 5.824 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.01364, allocations: 12 kB / 284.6 MB, free: 5.812 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004514/0.01409, allocations: 343.6 kB / 284.9 MB, free: 5.477 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.01582, allocations: 1.494 MB / 286.4 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.01665, allocations: 0.5671 MB / 287 MB, free: 3.348 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002228/0.01687, allocations: 173 kB / 287.2 MB, free: 3.176 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.317e-05/0.01692, allocations: 24.48 kB / 287.2 MB, free: 3.152 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.01695, allocations: 45.88 kB / 287.2 MB, free: 3.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=47): time 1.974e-06/0.01695, allocations: 3.938 kB / 287.2 MB, free: 3.094 MB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.0008813/0.01783, allocations: 0.5003 MB / 287.7 MB, free: 2.582 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.01786, allocations: 55.91 kB / 287.8 MB, free: 2.516 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.018, allocations: 232.4 kB / 288 MB, free: 2.273 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.01803, allocations: 33.7 kB / 288 MB, free: 2.234 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.896e-05/0.01812, allocations: 267.7 kB / 288.3 MB, free: 1.965 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.9e-05/0.01819, allocations: 166.5 kB / 288.5 MB, free: 1.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.084e-05/0.01829, allocations: 103.8 kB / 288.6 MB, free: 1.691 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01845, allocations: 0.5 MB / 289.1 MB, free: 1.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.01856, allocations: 88.94 kB / 289.2 MB, free: 1.094 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001686/0.01873, allocations: 202.2 kB / 289.4 MB, free: 0.8555 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.01904, allocations: 322.2 kB / 289.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.01904, allocations: 0 / 289.7 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0004958/0.01953, allocations: 432.8 kB / 290.1 MB, free: 64 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.01955, allocations: 8 kB / 290.1 MB, free: 56 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01955, allocations: 7.984 kB / 290.1 MB, free: 48 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09906/0.1186, allocations: 86.33 kB / 290.2 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.1189, allocations: 96.77 kB / 290.3 MB, free: 21.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/0.1199, allocations: 1.997 MB / 292.3 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001589/0.12, allocations: 42.42 kB / 292.3 MB, free: 19.6 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.1201, allocations: 19.22 kB / 292.3 MB, free: 19.6 MB / 266.7 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.0001122/0.1202, allocations: 181.5 kB / 292.5 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.574e-05/0.1202, allocations: 40.27 kB / 292.6 MB, free: 19.44 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005965/0.1208, allocations: 426.1 kB / 293 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.1208, allocations: 5.406 kB / 293 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1208, allocations: 1.156 kB / 293 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.512e-06/0.1208, allocations: 4.484 kB / 293 MB, free: 19.39 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008986/0.1217, allocations: 0.9223 MB / 293.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1217, allocations: 0.6562 kB / 293.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001766/0.1219, allocations: 78.09 kB / 294 MB, free: 19.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002091/0.1221, allocations: 91.11 kB / 294.1 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.1221, allocations: 12.56 kB / 294.1 MB, free: 19.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008052/0.123, allocations: 2 MB / 296.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.123, allocations: 1.188 kB / 296.1 MB, free: 17.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006562/0.1236, allocations: 0.6436 MB / 296.7 MB, free: 17.04 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.1236, allocations: 27.81 kB / 296.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.681e-05/0.1237, allocations: 10.89 kB / 296.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.1238, allocations: 17.92 kB / 296.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.1239, allocations: 37.38 kB / 296.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.1239, allocations: 16.66 kB / 296.8 MB, free: 17.03 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.832e-05/0.1239, allocations: 157.6 kB / 297 MB, free: 16.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1239, allocations: 0.5 kB / 297 MB, free: 16.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.1243, allocations: 158.3 kB / 297.2 MB, free: 16.89 MB / 266.7 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.0001828/0.1245, allocations: 142.7 kB / 297.3 MB, free: 16.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.1251, allocations: 0.5044 MB / 297.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.1251, allocations: 1.062 kB / 297.8 MB, free: 16.61 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002845/0.1254, allocations: 378.2 kB / 298.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.1256, allocations: 35.33 kB / 298.2 MB, free: 16.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001111/0.1267, allocations: 0.7593 MB / 299 MB, free: 16.03 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.118e-05/0.1268, allocations: 109.8 kB / 299.1 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001111/0.1269, allocations: 48.25 kB / 299.1 MB, free: 15.95 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.165e-05/0.127, allocations: 40.47 kB / 299.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of SimCode: time 5.1e-07/0.127, allocations: 0 / 299.2 MB, free: 15.94 MB / 266.7 MB Notification: Performance of Templates: time 0.009996/0.137, allocations: 4.712 MB / 303.9 MB, free: 15.44 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.SinglePhase.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/SinglePhase/Examples/ParallelResonance/ParallelResonance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.681722127366811]