Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.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.0009553/0.0009553, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.001036/0.001036, allocations: 161 kB / 24.56 MB, free: 16 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 1.001/1.001, allocations: 177.1 MB / 205 MB, free: 5.66 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.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") translateModel(Modelica.Electrical.Analog.Examples.ParallelResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineCurrent.phi|inductor1.i|inductor2.i|sineCurrent.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273 MB, free: 1.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331e-05/1.458e-05, allocations: 2.312 kB / 273 MB, free: 1.562 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.00268/0.002695, allocations: 2.898 MB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009954/0.00369, allocations: 0.701 MB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001176/0.003808, allocations: 4 kB / 276.6 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.003976, allocations: 63.38 kB / 276.7 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.004105, allocations: 99.11 kB / 276.8 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.004319, allocations: 91.81 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002806/0.004599, allocations: 390.7 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.004787, allocations: 116.8 kB / 277.3 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.005076, allocations: 231.4 kB / 277.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001204/0.005197, allocations: 119.7 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.005232, allocations: 35.94 kB / 277.7 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.412e-05/0.005266, allocations: 32 kB / 277.7 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.203e-05/0.005308, allocations: 79.72 kB / 277.8 MB, free: 12.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.005389, allocations: 119.7 kB / 277.9 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.00561, allocations: 247.1 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.005612, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005613, allocations: 0 / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.005617, allocations: 0 / 278.2 MB, free: 12.34 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0006218/0.006239, allocations: 0.6481 MB / 278.8 MB, free: 11.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.006272, allocations: 8.031 kB / 278.8 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.00635, allocations: 64.7 kB / 278.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002081/0.006558, allocations: 208.1 kB / 279.1 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.006579, allocations: 28.95 kB / 279.1 MB, free: 11.33 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.006617, allocations: 36.38 kB / 279.2 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.006932, allocations: 274.7 kB / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.006943, allocations: 192 / 279.4 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.05e-05/0.006964, allocations: 12.38 kB / 279.4 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.006976, allocations: 11.94 kB / 279.5 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.007139, allocations: 115.8 kB / 279.6 MB, free: 10.86 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009118/0.008051, allocations: 0.8985 MB / 280.5 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.008216, allocations: 115.1 kB / 280.6 MB, free: 9.781 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001253/0.008341, allocations: 83.64 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.008356, allocations: 4 kB / 280.7 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.245e-05/0.008378, allocations: 37.39 kB / 280.7 MB, free: 9.645 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.192e-06/0.00838, allocations: 3.938 kB / 280.7 MB, free: 9.641 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000247/0.008627, allocations: 161.7 kB / 280.9 MB, free: 9.477 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.008652, allocations: 55.41 kB / 280.9 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.00879, allocations: 245.6 kB / 281.2 MB, free: 9.152 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.008803, allocations: 25.7 kB / 281.2 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.008895, allocations: 247 kB / 281.4 MB, free: 8.871 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.976e-05/0.008935, allocations: 79.36 kB / 281.5 MB, free: 8.793 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.484e-05/0.008989, allocations: 55.59 kB / 281.6 MB, free: 8.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.009098, allocations: 0.5001 MB / 282.1 MB, free: 8.219 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.355e-05/0.009152, allocations: 36.55 kB / 282.1 MB, free: 8.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.909e-05/0.009251, allocations: 150.4 kB / 282.2 MB, free: 7.992 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.009408, allocations: 192.3 kB / 282.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00941, allocations: 0 / 282.4 MB, free: 7.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002152/0.009625, allocations: 213.2 kB / 282.6 MB, free: 7.543 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.009637, allocations: 4 kB / 282.6 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.009642, allocations: 4 kB / 282.6 MB, free: 7.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.009656, allocations: 7.938 kB / 282.7 MB, free: 7.527 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.00983, allocations: 75.89 kB / 282.7 MB, free: 7.453 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.009839, allocations: 7.938 kB / 282.7 MB, free: 7.445 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.009906, allocations: 32.03 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.116e-05/0.009917, allocations: 8 kB / 282.8 MB, free: 7.406 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.136e-05/0.009998, allocations: 168.5 kB / 282.9 MB, free: 7.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.01003, allocations: 27.86 kB / 283 MB, free: 7.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001736/0.0102, allocations: 150.4 kB / 283.1 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.0102, allocations: 4 kB / 283.1 MB, free: 7.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.01021, allocations: 3.938 kB / 283.1 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01021, allocations: 3.984 kB / 283.1 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003834/0.0106, allocations: 0.4966 MB / 283.6 MB, free: 6.496 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0106, allocations: 4.109 kB / 283.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.01075, allocations: 63.89 kB / 283.7 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.01075, allocations: 3.938 kB / 283.7 MB, free: 6.426 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01077, allocations: 8 kB / 283.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.01077, allocations: 0 / 283.7 MB, free: 6.418 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01077, allocations: 4 kB / 283.7 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.01102, allocations: 346.6 kB / 284 MB, free: 6.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.806e-05/0.01103, allocations: 19.84 kB / 284.1 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01105, allocations: 11.94 kB / 284.1 MB, free: 6.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.01113, allocations: 19.98 kB / 284.1 MB, free: 5.996 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.73e-05/0.01117, allocations: 15.92 kB / 284.1 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01118, allocations: 11.94 kB / 284.1 MB, free: 5.969 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.66e-05/0.01125, allocations: 171.1 kB / 284.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01125, allocations: 0 / 284.3 MB, free: 5.801 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002141/0.01147, allocations: 79.78 kB / 284.4 MB, free: 5.723 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (sineCurrent.phi,inductor1.i,capacitor1.v,cosineCurrent.phi,inductor2.i,capacitor2.v) * 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 (21): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.178e-05/0.01155, allocations: 103.2 kB / 284.5 MB, free: 5.613 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002005/0.01175, allocations: 123.5 kB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01175, allocations: 0 / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.213e-05/0.01181, allocations: 67.53 kB / 284.7 MB, free: 5.418 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.01202, allocations: 27.98 kB / 284.7 MB, free: 5.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009921/0.01301, allocations: 0.7109 MB / 285.4 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.049e-05/0.01306, allocations: 87.97 kB / 285.5 MB, free: 4.539 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.66e-05/0.01312, allocations: 21.88 kB / 285.5 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.01316, allocations: 24.5 kB / 285.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01316, allocations: 0 / 285.5 MB, free: 4.488 MB / 266.7 MB Notification: Performance of Templates: time 0.003715/0.01688, allocations: 1.926 MB / 287.4 MB, free: 2.598 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/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.8600874710828066]