Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001456/0.001456, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, allocations: 165 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9704/0.9704, allocations: 177 MB / 205.2 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.253e-06/1.253e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.462e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002616/0.002631, allocations: 2.886 MB / 275.9 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008931/0.003524, allocations: 0.701 MB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.003654, allocations: 7.938 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001468/0.003801, allocations: 67.36 kB / 276.7 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001201/0.003921, allocations: 87.14 kB / 276.8 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001812/0.004103, allocations: 91.86 kB / 276.8 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000269/0.004371, allocations: 394.7 kB / 277.2 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.004548, allocations: 120.8 kB / 277.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002696/0.004818, allocations: 231.4 kB / 277.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001095/0.004927, allocations: 119.7 kB / 277.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.004959, allocations: 36 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.885e-05/0.004988, allocations: 32 kB / 277.8 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.114e-05/0.005029, allocations: 79.67 kB / 277.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.699e-05/0.005106, allocations: 111.8 kB / 277.9 MB, free: 12.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.005315, allocations: 255 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.005318, allocations: 4 kB / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of FrontEnd: time 5e-07/0.005318, allocations: 0 / 278.2 MB, free: 12.52 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.005322, allocations: 0 / 278.2 MB, free: 12.52 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.0005909/0.005913, allocations: 0.6442 MB / 278.8 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.005944, allocations: 11.98 kB / 278.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.544e-05/0.00602, allocations: 64.7 kB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.006225, allocations: 208.1 kB / 279.1 MB, free: 11.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.829e-05/0.006243, allocations: 29.03 kB / 279.1 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.625e-05/0.00628, allocations: 32.38 kB / 279.2 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002933/0.006573, allocations: 278.7 kB / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.006582, allocations: 192 / 279.5 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.006602, allocations: 12.38 kB / 279.5 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.006611, allocations: 15.88 kB / 279.5 MB, free: 11.15 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.006786, allocations: 107.9 kB / 279.6 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000914/0.0077, allocations: 0.9025 MB / 280.5 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.007856, allocations: 114.4 kB / 280.6 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001226/0.007979, allocations: 87.64 kB / 280.7 MB, free: 9.871 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/0.007993, allocations: 4 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.008015, allocations: 41.39 kB / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.008017, allocations: 0 / 280.7 MB, free: 9.816 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002338/0.008251, allocations: 165.1 kB / 280.9 MB, free: 9.652 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.368e-05/0.008274, allocations: 55.41 kB / 280.9 MB, free: 9.586 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.008402, allocations: 237.9 kB / 281.2 MB, free: 9.336 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.008416, allocations: 29.7 kB / 281.2 MB, free: 9.301 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.987e-05/0.008506, allocations: 247 kB / 281.4 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.008544, allocations: 75.38 kB / 281.5 MB, free: 8.977 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.338e-05/0.008597, allocations: 59.59 kB / 281.6 MB, free: 8.91 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.008723, allocations: 0.4962 MB / 282.1 MB, free: 8.402 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.654e-05/0.008779, allocations: 32.53 kB / 282.1 MB, free: 8.371 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001001/0.008879, allocations: 142.2 kB / 282.2 MB, free: 8.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001671/0.009046, allocations: 208.2 kB / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.009048, allocations: 0 / 282.4 MB, free: 7.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000216/0.009264, allocations: 213.2 kB / 282.7 MB, free: 7.723 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/0.009274, allocations: 4 kB / 282.7 MB, free: 7.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.009279, allocations: 4 kB / 282.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.009291, allocations: 7.938 kB / 282.7 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.009451, allocations: 63.91 kB / 282.7 MB, free: 7.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.009457, allocations: 4 kB / 282.7 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.918e-05/0.009527, allocations: 32.02 kB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.009539, allocations: 20 kB / 282.8 MB, free: 7.59 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.757e-05/0.009626, allocations: 168.5 kB / 283 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.009657, allocations: 27.86 kB / 283 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.009827, allocations: 147.3 kB / 283.1 MB, free: 7.238 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.00983, allocations: 4 kB / 283.1 MB, free: 7.234 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.009835, allocations: 7.938 kB / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.009838, allocations: 0 / 283.1 MB, free: 7.227 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.01025, allocations: 0.5044 MB / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01025, allocations: 0 / 283.6 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001475/0.0104, allocations: 59.97 kB / 283.7 MB, free: 6.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.0104, allocations: 3.938 kB / 283.7 MB, free: 6.609 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.01041, allocations: 8 kB / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.01041, allocations: 0 / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.01042, allocations: 0 / 283.7 MB, free: 6.602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.01067, allocations: 351.5 kB / 284.1 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.884e-05/0.01069, allocations: 19.84 kB / 284.1 MB, free: 6.207 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01071, allocations: 7.938 kB / 284.1 MB, free: 6.199 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.764e-05/0.01078, allocations: 15.98 kB / 284.1 MB, free: 6.184 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.861e-05/0.01082, allocations: 23.88 kB / 284.1 MB, free: 6.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.01083, allocations: 7.984 kB / 284.1 MB, free: 6.152 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.158e-05/0.01091, allocations: 176.2 kB / 284.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01091, allocations: 0 / 284.3 MB, free: 5.98 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002041/0.01112, allocations: 79.78 kB / 284.4 MB, free: 5.902 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.093e-05/0.0112, allocations: 99.23 kB / 284.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.01136, allocations: 139 kB / 284.6 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.01137, allocations: 0 / 284.6 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.825e-05/0.01142, allocations: 59.59 kB / 284.7 MB, free: 5.598 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.01163, allocations: 35.36 kB / 284.7 MB, free: 5.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009484/0.01258, allocations: 0.71 MB / 285.4 MB, free: 4.82 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.683e-05/0.01262, allocations: 87.97 kB / 285.5 MB, free: 4.715 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01268, allocations: 21.94 kB / 285.5 MB, free: 4.691 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.927e-05/0.01271, allocations: 20.5 kB / 285.5 MB, free: 4.668 MB / 266.7 MB Notification: Performance of SimCode: time 6.02e-07/0.01272, allocations: 4 kB / 285.5 MB, free: 4.664 MB / 266.7 MB Notification: Performance of Templates: time 0.003688/0.0164, allocations: 1.831 MB / 287.4 MB, free: 2.859 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.8310525068081915]