Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001278/0.001278, allocations: 76.72 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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001721/0.001721, allocations: 144.9 kB / 25.59 MB, free: 8.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9708/0.9708, allocations: 173.4 MB / 202.3 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.188e-05/2.335e-05, allocations: 2.312 kB / 269.2 MB, free: 9.762 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.003002/0.003025, allocations: 2.844 MB / 272.1 MB, free: 6.918 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008759/0.003901, allocations: 0.6679 MB / 272.7 MB, free: 6.25 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.004027, allocations: 4 kB / 272.7 MB, free: 6.246 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001618/0.004189, allocations: 63.36 kB / 272.8 MB, free: 6.184 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001244/0.004313, allocations: 93 kB / 272.9 MB, free: 6.094 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.004533, allocations: 96.62 kB / 273 MB, free: 6 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.004796, allocations: 394.7 kB / 273.4 MB, free: 5.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.004985, allocations: 122.2 kB / 273.5 MB, free: 5.492 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.005199, allocations: 223.5 kB / 273.7 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.00532, allocations: 107.7 kB / 273.8 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.997e-05/0.00536, allocations: 37.44 kB / 273.8 MB, free: 5.133 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.005392, allocations: 32 kB / 273.9 MB, free: 5.102 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.31e-05/0.005445, allocations: 87.66 kB / 274 MB, free: 5.016 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.304e-05/0.005528, allocations: 115.7 kB / 274.1 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.005773, allocations: 247.5 kB / 274.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.005775, allocations: 0.5312 kB / 274.3 MB, free: 4.66 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.005777, allocations: 4 kB / 274.3 MB, free: 4.656 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.005782, allocations: 0.6875 kB / 274.3 MB, free: 4.656 MB / 250.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.0006339/0.006416, allocations: 0.6504 MB / 275 MB, free: 3.973 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.006448, allocations: 8.031 kB / 275 MB, free: 3.965 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.264e-05/0.00652, allocations: 64.7 kB / 275 MB, free: 3.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.006732, allocations: 212.5 kB / 275.2 MB, free: 3.668 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.006753, allocations: 25.03 kB / 275.3 MB, free: 3.641 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.006794, allocations: 36.36 kB / 275.3 MB, free: 3.605 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.00706, allocations: 250.8 kB / 275.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.007069, allocations: 192 / 275.5 MB, free: 3.344 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/0.007089, allocations: 16.36 kB / 275.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.007098, allocations: 19.88 kB / 275.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.007204, allocations: 88.45 kB / 275.7 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008654/0.008069, allocations: 0.8523 MB / 276.5 MB, free: 2.32 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.008217, allocations: 107 kB / 276.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.008323, allocations: 83.12 kB / 276.7 MB, free: 2.121 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.521e-05/0.008338, allocations: 4 kB / 276.7 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/0.00836, allocations: 33.39 kB / 276.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.283e-06/0.008361, allocations: 0 / 276.7 MB, free: 2.074 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002149/0.008576, allocations: 145.8 kB / 276.9 MB, free: 1.926 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.008605, allocations: 55.34 kB / 276.9 MB, free: 1.859 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.008736, allocations: 254.3 kB / 277.2 MB, free: 1.594 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.008751, allocations: 29.7 kB / 277.2 MB, free: 1.559 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.008858, allocations: 239 kB / 277.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.281e-05/0.008901, allocations: 79.28 kB / 277.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.311e-05/0.008974, allocations: 59.62 kB / 277.6 MB, free: 1.168 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.009109, allocations: 0.504 MB / 278.1 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.529e-05/0.009144, allocations: 20.55 kB / 278.1 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.00926, allocations: 133.6 kB / 278.2 MB, free: 468 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.009391, allocations: 184.3 kB / 278.4 MB, free: 236 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.009394, allocations: 4 kB / 278.4 MB, free: 232 kB / 250.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001877/0.009582, allocations: 193.2 kB / 278.6 MB, free: 32 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.009596, allocations: 10.12 kB / 278.6 MB, free: 24 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.009602, allocations: 8 kB / 278.6 MB, free: 16 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.009613, allocations: 4 kB / 278.6 MB, free: 12 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001706/0.009783, allocations: 63.91 kB / 278.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.009792, allocations: 11.92 kB / 278.7 MB, free: 15.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.963e-05/0.009861, allocations: 23.84 kB / 278.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.009872, allocations: 12 kB / 278.7 MB, free: 15.9 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.411e-05/0.009957, allocations: 172.5 kB / 278.9 MB, free: 15.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.269e-05/0.009989, allocations: 19.91 kB / 278.9 MB, free: 15.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.01022, allocations: 149.4 kB / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.01023, allocations: 4 kB / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.01023, allocations: 0 / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.01023, allocations: 3.938 kB / 279.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003746/0.01061, allocations: 464.2 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01061, allocations: 4 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001466/0.01076, allocations: 51.91 kB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.01076, allocations: 4 kB / 279.6 MB, free: 15 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.01077, allocations: 4.047 kB / 279.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.01077, allocations: 12 kB / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.01078, allocations: 3.984 kB / 279.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002224/0.011, allocations: 343.3 kB / 280 MB, free: 14.61 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.852e-05/0.01102, allocations: 15.89 kB / 280 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.01104, allocations: 8 kB / 280 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.073e-05/0.01112, allocations: 19.94 kB / 280 MB, free: 14.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.948e-05/0.01116, allocations: 15.97 kB / 280 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.01116, allocations: 0 / 280 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.391e-05/0.01123, allocations: 179.9 kB / 280.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01123, allocations: 4 kB / 280.2 MB, free: 14.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002089/0.01144, allocations: 79.78 kB / 280.3 MB, free: 14.29 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 9.262e-05/0.01153, allocations: 107.2 kB / 280.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001446/0.01167, allocations: 115.8 kB / 280.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.01167, allocations: 0 / 280.5 MB, free: 14.06 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.191e-05/0.01173, allocations: 62.27 kB / 280.5 MB, free: 14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002214/0.01195, allocations: 32.28 kB / 280.6 MB, free: 13.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.013, allocations: 0.7065 MB / 281.3 MB, free: 13.22 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.917e-05/0.01305, allocations: 83.97 kB / 281.4 MB, free: 13.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.26e-05/0.01311, allocations: 25.94 kB / 281.4 MB, free: 13.1 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.01321, allocations: 106.2 kB / 281.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01321, allocations: 0 / 281.5 MB, free: 12.99 MB / 266.7 MB Notification: Performance of Templates: time 0.003885/0.01709, allocations: 2.029 MB / 283.5 MB, free: 11 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ParallelResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.9157539810985327]