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.001777/0.001777, allocations: 106.1 kB / 19.8 MB, free: 2.5 MB / 14.72 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.002143/0.002143, allocations: 216.8 kB / 22.99 MB, free: 5.578 MB / 14.72 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 1.49/1.49, allocations: 230.2 MB / 256.2 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00192/0.00192, allocations: 59.89 kB / 376.5 MB, free: 3.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3066, allocations: 53.33 MB / 429.8 MB, free: 7.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004398/0.311, allocations: 2.936 MB / 432.8 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3123, allocations: 0.7128 MB / 433.5 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.3125, allocations: 11.94 kB / 433.5 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.3127, allocations: 55.42 kB / 433.5 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.3129, allocations: 95.19 kB / 433.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3132, allocations: 91.77 kB / 433.7 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004379/0.3136, allocations: 382.9 kB / 434.1 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002939/0.3139, allocations: 120.5 kB / 434.2 MB, free: 3.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.3142, allocations: 155.5 kB / 434.4 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001991/0.3144, allocations: 155.3 kB / 434.5 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.109e-05/0.3145, allocations: 35.94 kB / 434.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.504e-05/0.3145, allocations: 32 kB / 434.6 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.922e-05/0.3146, allocations: 83.75 kB / 434.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001621/0.3147, allocations: 171.1 kB / 434.8 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004323/0.3152, allocations: 379.7 kB / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.3152, allocations: 0 / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3152, allocations: 0 / 435.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3152, allocations: 4 kB / 435.2 MB, free: 2.129 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009866/0.3162, allocations: 0.6274 MB / 435.8 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3162, allocations: 8.031 kB / 435.8 MB, free: 1.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.426e-05/0.3163, allocations: 40.7 kB / 435.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.3166, allocations: 259.8 kB / 436.1 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.585e-05/0.3167, allocations: 25.03 kB / 436.2 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.714e-05/0.3167, allocations: 40.36 kB / 436.2 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005559/0.3173, allocations: 286.3 kB / 436.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3173, allocations: 0 / 436.5 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.384e-05/0.3173, allocations: 12 kB / 436.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.3173, allocations: 8 kB / 436.5 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004792/0.3178, allocations: 214.5 kB / 436.7 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001644/0.3195, allocations: 1.03 MB / 437.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003469/0.3198, allocations: 150.6 kB / 437.9 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.3201, allocations: 120.8 kB / 438 MB, free: 15.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.144e-05/0.3201, allocations: 11.94 kB / 438 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.58e-05/0.3201, allocations: 30.56 kB / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.3202, allocations: 0 / 438 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006192/0.3208, allocations: 225.7 kB / 438.3 MB, free: 14.88 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.558e-05/0.3208, allocations: 55.41 kB / 438.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002372/0.3211, allocations: 219.1 kB / 438.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3211, allocations: 29.7 kB / 438.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.3212, allocations: 204.3 kB / 438.8 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3213, allocations: 75.38 kB / 438.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.3214, allocations: 49.98 kB / 438.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.3215, allocations: 334.8 kB / 439.2 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001756/0.3217, allocations: 68.52 kB / 439.3 MB, free: 13.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002523/0.322, allocations: 151.3 kB / 439.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004025/0.3224, allocations: 225.2 kB / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.3224, allocations: 0 / 439.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005263/0.3229, allocations: 277.1 kB / 439.9 MB, free: 13.11 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3229, allocations: 8 kB / 439.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.3229, allocations: 0 / 439.9 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3229, allocations: 4 kB / 439.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002911/0.3232, allocations: 75.89 kB / 440 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3232, allocations: 4 kB / 440 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001723/0.3234, allocations: 35.77 kB / 440 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.431e-05/0.3234, allocations: 8.219 kB / 440 MB, free: 12.97 MB / 350.1 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 0.0001476/0.3236, allocations: 145.8 kB / 440.2 MB, free: 12.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.3236, allocations: 27.8 kB / 440.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004604/0.3241, allocations: 198.7 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3241, allocations: 0 / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.3241, allocations: 4 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3241, allocations: 3.984 kB / 440.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009332/0.325, allocations: 0.6001 MB / 441 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.325, allocations: 0 / 441 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.3253, allocations: 59.91 kB / 441.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3253, allocations: 4 kB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3253, allocations: 7.984 kB / 441.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.3253, allocations: 4 kB / 441.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3253, allocations: 4.062 kB / 441.1 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006173/0.326, allocations: 369.3 kB / 441.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.151e-05/0.326, allocations: 105 kB / 441.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.3261, allocations: 8 kB / 441.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3263, allocations: 15.98 kB / 441.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.912e-05/0.3263, allocations: 15.98 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.3263, allocations: 4.125 kB / 441.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001583/0.3265, allocations: 156.6 kB / 441.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3265, allocations: 0 / 441.7 MB, free: 11.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.3269, allocations: 75.78 kB / 441.8 MB, free: 11.07 MB / 350.1 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 0.000157/0.327, allocations: 107.2 kB / 441.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004321/0.3274, allocations: 179.6 kB / 442.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3274, allocations: 0 / 442.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/0.3276, allocations: 76.52 kB / 442.2 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.328, allocations: 44.58 kB / 442.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.3296, allocations: 0.8623 MB / 443.1 MB, free: 9.766 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3301, allocations: 0.7636 MB / 443.8 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001063/0.3302, allocations: 25.94 kB / 443.9 MB, free: 8.953 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.158e-05/0.3303, allocations: 19.44 kB / 443.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of SimCode: time 8.62e-07/0.3303, allocations: 0 / 443.9 MB, free: 8.934 MB / 350.1 MB Notification: Performance of Templates: time 0.006435/0.3367, allocations: 2.154 MB / 446 MB, free: 6.797 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ParallelResonance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.701423859223723]