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.001032/0.001032, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001197/0.001197, allocations: 163.9 kB / 25.61 MB, free: 8.582 MB / 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.9392/0.9392, allocations: 177.1 MB / 206.1 MB, free: 4.477 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.353e-06/1.353e-06, allocations: 0 / 274.2 MB, free: 4.387 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.352e-05, allocations: 2.312 kB / 274.2 MB, free: 4.383 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.006651/0.006665, allocations: 2.863 MB / 277.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.01076, allocations: 0.6972 MB / 277.8 MB, free: 0.8203 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001498/0.01091, allocations: 8.594 kB / 277.8 MB, free: 0.8125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001773/0.01109, allocations: 63.42 kB / 277.8 MB, free: 0.75 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.01125, allocations: 89.55 kB / 277.9 MB, free: 0.6641 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.01147, allocations: 95.86 kB / 278 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003355/0.01181, allocations: 394.7 kB / 278.4 MB, free: 188 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.01202, allocations: 116.8 kB / 278.5 MB, free: 72 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003224/0.01234, allocations: 227.5 kB / 278.7 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001466/0.01249, allocations: 123.6 kB / 278.9 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.62e-05/0.01254, allocations: 32 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.152e-05/0.01258, allocations: 32 kB / 278.9 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.118e-05/0.01263, allocations: 71.75 kB / 279 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.01273, allocations: 115.7 kB / 279.1 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.01299, allocations: 255 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.01299, allocations: 4 kB / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.01299, allocations: 0 / 279.4 MB, free: 15.23 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.197e-06/0.013, allocations: 0 / 279.4 MB, free: 15.23 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.003695/0.01669, allocations: 0.6558 MB / 280 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.152e-05/0.01672, allocations: 8.031 kB / 280 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.307e-05/0.01681, allocations: 64.7 kB / 280.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.01703, allocations: 200.8 kB / 280.3 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.01706, allocations: 33.02 kB / 280.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.01711, allocations: 32.38 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.0174, allocations: 250.7 kB / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.01741, allocations: 192 / 280.6 MB, free: 13.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.581e-05/0.01744, allocations: 16.38 kB / 280.6 MB, free: 13.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.146e-05/0.01745, allocations: 11.94 kB / 280.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000136/0.01759, allocations: 88.52 kB / 280.7 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01861, allocations: 0.86 MB / 281.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.01877, allocations: 107 kB / 281.7 MB, free: 12.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.01889, allocations: 75.64 kB / 281.7 MB, free: 12.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.391e-05/0.0189, allocations: 4 kB / 281.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/0.01893, allocations: 41.39 kB / 281.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.262e-06/0.01893, allocations: 0 / 281.8 MB, free: 12.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.000238/0.01917, allocations: 145.1 kB / 281.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/0.01919, allocations: 59.34 kB / 282 MB, free: 12.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.01933, allocations: 238.2 kB / 282.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.01935, allocations: 37.64 kB / 282.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001134/0.02048, allocations: 247 kB / 282.5 MB, free: 11.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.02053, allocations: 79.36 kB / 282.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.1e-05/0.0206, allocations: 55.61 kB / 282.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.02073, allocations: 0.5001 MB / 283.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.092e-05/0.02078, allocations: 24.55 kB / 283.2 MB, free: 11.2 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.02088, allocations: 145.5 kB / 283.3 MB, free: 11.01 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.02104, allocations: 180.4 kB / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.02104, allocations: 0 / 283.5 MB, free: 10.79 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000247/0.02129, allocations: 197.2 kB / 283.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.0213, allocations: 4 kB / 283.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02131, allocations: 4.25 kB / 283.7 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.02132, allocations: 8 kB / 283.7 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002102/0.02153, allocations: 71.84 kB / 283.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.02154, allocations: 11.92 kB / 283.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.902e-05/0.02164, allocations: 27.78 kB / 283.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.02165, allocations: 8 kB / 283.8 MB, free: 10.46 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 9.49e-05/0.02175, allocations: 168.5 kB / 284 MB, free: 10.28 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.211e-05/0.02179, allocations: 27.91 kB / 284 MB, free: 10.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001806/0.02197, allocations: 133.4 kB / 284.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.02197, allocations: 8 kB / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.02197, allocations: 0 / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.02198, allocations: 7.875 kB / 284.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000456/0.02244, allocations: 465.1 kB / 284.6 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.02244, allocations: 4 kB / 284.6 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005492/0.02299, allocations: 59.95 kB / 284.7 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.442e-06/0.02299, allocations: 3.984 kB / 284.7 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.02301, allocations: 4 kB / 284.7 MB, free: 9.539 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.02301, allocations: 3.938 kB / 284.7 MB, free: 9.535 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02302, allocations: 8 kB / 284.7 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003075/0.02332, allocations: 339.5 kB / 285 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.651e-05/0.02335, allocations: 19.84 kB / 285 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.02337, allocations: 4 kB / 285 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.02349, allocations: 19.92 kB / 285 MB, free: 9.121 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.744e-05/0.02353, allocations: 11.98 kB / 285.1 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.433e-05/0.02355, allocations: 11.98 kB / 285.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.02362, allocations: 164.3 kB / 285.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02362, allocations: 0 / 285.2 MB, free: 8.938 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.02399, allocations: 87.73 kB / 285.3 MB, free: 8.852 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.934e-05/0.02408, allocations: 103.2 kB / 285.4 MB, free: 8.742 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00018/0.02426, allocations: 111.4 kB / 285.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02426, allocations: 0 / 285.5 MB, free: 8.629 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.02448, allocations: 59.58 kB / 285.6 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002913/0.02477, allocations: 36.53 kB / 285.6 MB, free: 8.531 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.02593, allocations: 0.7017 MB / 286.3 MB, free: 7.797 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.145e-05/0.02599, allocations: 87.97 kB / 286.4 MB, free: 7.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.826e-05/0.02607, allocations: 25.92 kB / 286.4 MB, free: 7.664 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.02619, allocations: 110.2 kB / 286.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02619, allocations: 0 / 286.5 MB, free: 7.555 MB / 266.7 MB Notification: Performance of Templates: time 0.004607/0.0308, allocations: 2.034 MB / 288.6 MB, free: 5.559 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.79623180674389]