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.001931/0.001931, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 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.00266/0.00266, allocations: 212.1 kB / 23.73 MB, free: 4.523 MB / 14.72 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.51/1.51, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002126/0.002126, allocations: 51.92 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3087, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.004837/0.3136, allocations: 2.71 MB / 434.3 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.315, allocations: 0.6777 MB / 435 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001616/0.3151, allocations: 11.94 kB / 435 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000202/0.3153, allocations: 59.42 kB / 435 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001765/0.3155, allocations: 95.19 kB / 435.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3158, allocations: 87.83 kB / 435.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004328/0.3162, allocations: 382.9 kB / 435.6 MB, free: 2.688 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.3165, allocations: 124.5 kB / 435.7 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.3168, allocations: 163.4 kB / 435.9 MB, free: 2.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002114/0.317, allocations: 159.2 kB / 436 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.356e-05/0.3171, allocations: 36 kB / 436.1 MB, free: 2.219 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.196e-05/0.3171, allocations: 32 kB / 436.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.447e-05/0.3172, allocations: 71.77 kB / 436.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001626/0.3174, allocations: 147.4 kB / 436.3 MB, free: 1.973 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004592/0.3178, allocations: 381 kB / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3178, allocations: 0 / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3178, allocations: 0 / 436.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.3178, allocations: 3.938 kB / 436.7 MB, free: 1.598 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.001039/0.3189, allocations: 0.5521 MB / 437.2 MB, free: 1.016 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.3189, allocations: 12.02 kB / 437.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.21e-05/0.319, allocations: 40.7 kB / 437.3 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000406/0.3194, allocations: 210.7 kB / 437.5 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.3194, allocations: 21.03 kB / 437.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.209e-05/0.3195, allocations: 40.3 kB / 437.6 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006449/0.3201, allocations: 337.7 kB / 437.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.3201, allocations: 0 / 437.9 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.3202, allocations: 12 kB / 437.9 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.3202, allocations: 8 kB / 437.9 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005104/0.3207, allocations: 222.5 kB / 438.1 MB, free: 96 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.3224, allocations: 0.8517 MB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/0.3228, allocations: 150.6 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003066/0.3231, allocations: 116.8 kB / 439.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.245e-05/0.3231, allocations: 4 kB / 439.2 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.3231, allocations: 38.5 kB / 439.3 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.743e-06/0.3231, allocations: 4 kB / 439.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006642/0.3238, allocations: 221.7 kB / 439.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.3239, allocations: 59.36 kB / 439.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.3241, allocations: 199.8 kB / 439.7 MB, free: 14.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.601e-05/0.3241, allocations: 29.7 kB / 439.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.3243, allocations: 192.3 kB / 440 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.797e-05/0.3244, allocations: 75.38 kB / 440 MB, free: 14.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.818e-05/0.3244, allocations: 49.98 kB / 440.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001823/0.3246, allocations: 334.8 kB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001955/0.3248, allocations: 64.53 kB / 440.5 MB, free: 13.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/0.3251, allocations: 155.2 kB / 440.6 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004144/0.3255, allocations: 217.3 kB / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3255, allocations: 0 / 440.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005303/0.326, allocations: 281.1 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.326, allocations: 4 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.326, allocations: 4 kB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.3261, allocations: 4 kB / 441.1 MB, free: 12.87 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/0.3264, allocations: 76.16 kB / 441.2 MB, free: 12.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3264, allocations: 7.984 kB / 441.2 MB, free: 12.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.3266, allocations: 27.78 kB / 441.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.3266, allocations: 8 kB / 441.2 MB, free: 12.75 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.0001566/0.3268, allocations: 145.8 kB / 441.4 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.081e-05/0.3268, allocations: 23.83 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.3273, allocations: 197.3 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.3273, allocations: 8 kB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3273, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.738e-06/0.3273, allocations: 0 / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008998/0.3282, allocations: 0.5061 MB / 442.1 MB, free: 11.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3282, allocations: 3.938 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.3285, allocations: 59.89 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.3285, allocations: 4 kB / 442.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.099e-05/0.3286, allocations: 4 kB / 442.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.3286, allocations: 8.062 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3286, allocations: 0 / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006901/0.3293, allocations: 383.8 kB / 442.6 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.943e-05/0.3293, allocations: 23.83 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.976e-05/0.3293, allocations: 12.19 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.3295, allocations: 11.98 kB / 442.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.3296, allocations: 23.97 kB / 442.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.3296, allocations: 4 kB / 442.6 MB, free: 11.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001279/0.3297, allocations: 136.5 kB / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3297, allocations: 0 / 442.8 MB, free: 11.14 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.3301, allocations: 87.72 kB / 442.9 MB, free: 11.06 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.0001567/0.3303, allocations: 107.3 kB / 443 MB, free: 10.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004415/0.3307, allocations: 168.2 kB / 443.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3307, allocations: 0 / 443.1 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001773/0.3309, allocations: 75.89 kB / 443.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.0003427/0.3313, allocations: 27.98 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.3329, allocations: 0.8448 MB / 444.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001669/0.333, allocations: 159.1 kB / 444.2 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.742e-05/0.3331, allocations: 21.94 kB / 444.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.285e-05/0.3332, allocations: 19.44 kB / 444.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3332, allocations: 0 / 444.3 MB, free: 9.586 MB / 350.1 MB Notification: Performance of Templates: time 0.006413/0.3396, allocations: 2.226 MB / 446.5 MB, free: 7.391 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.826161871198565]