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.0008841/0.0008841, allocations: 85.05 kB / 21.5 MB, free: 2.988 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.0008615/0.0008615, allocations: 144.1 kB / 24.89 MB, free: 9.164 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.8665/0.8665, allocations: 173.4 MB / 201.5 MB, free: 9.227 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.423e-06/1.423e-06, allocations: 0 / 268.5 MB, free: 6.211 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.069e-05/1.211e-05, allocations: 2.312 kB / 268.5 MB, free: 6.207 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ParallelResonance): time 0.002395/0.002407, allocations: 2.845 MB / 271.3 MB, free: 3.344 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000763/0.00317, allocations: 0.6813 MB / 272 MB, free: 2.656 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.003278, allocations: 7.938 kB / 272 MB, free: 2.648 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.003424, allocations: 67.36 kB / 272.1 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001147/0.003538, allocations: 91.14 kB / 272.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.003718, allocations: 95.8 kB / 272.3 MB, free: 2.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002437/0.003962, allocations: 398.6 kB / 272.7 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.004123, allocations: 123.4 kB / 272.8 MB, free: 1.883 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001929/0.004316, allocations: 219.5 kB / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.004424, allocations: 115.7 kB / 273.1 MB, free: 1.555 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.004459, allocations: 40 kB / 273.1 MB, free: 1.516 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.903e-05/0.004488, allocations: 32 kB / 273.2 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.039e-05/0.004528, allocations: 67.75 kB / 273.2 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.848e-05/0.004607, allocations: 127.7 kB / 273.4 MB, free: 1.293 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001984/0.004805, allocations: 255 kB / 273.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.004807, allocations: 0 / 273.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004807, allocations: 0 / 273.6 MB, free: 1.043 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.276e-06/0.00481, allocations: 0 / 273.6 MB, free: 1.043 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.0004719/0.005282, allocations: 0.5234 MB / 274.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.733e-05/0.00531, allocations: 8.922 kB / 274.1 MB, free: 500 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.122e-05/0.005361, allocations: 48.89 kB / 274.2 MB, free: 452 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.005517, allocations: 185.2 kB / 274.4 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.005531, allocations: 21.03 kB / 274.4 MB, free: 220 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.005566, allocations: 32.38 kB / 274.4 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.005786, allocations: 262.7 kB / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.005795, allocations: 192 / 274.7 MB, free: 15.91 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.005813, allocations: 24.34 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.874e-06/0.005821, allocations: 7.938 kB / 274.7 MB, free: 15.88 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.747e-05/0.005908, allocations: 72.56 kB / 274.8 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007104/0.006618, allocations: 0.7162 MB / 275.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.006735, allocations: 97.5 kB / 275.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.648e-05/0.006821, allocations: 72.81 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.006833, allocations: 4 kB / 275.7 MB, free: 14.87 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.006852, allocations: 34.56 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.072e-06/0.006853, allocations: 4 kB / 275.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0001546/0.007007, allocations: 113.9 kB / 275.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.007031, allocations: 59.39 kB / 275.9 MB, free: 14.63 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.252e-05/0.007124, allocations: 186.4 kB / 276.1 MB, free: 14.44 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.353e-05/0.007137, allocations: 33.7 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.401e-05/0.007201, allocations: 192.2 kB / 276.3 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.311e-05/0.007235, allocations: 71.38 kB / 276.3 MB, free: 14.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.824e-05/0.007283, allocations: 57.91 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.155e-05/0.007354, allocations: 330.8 kB / 276.7 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.695e-05/0.007381, allocations: 20.55 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.007442, allocations: 110.5 kB / 276.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.00755, allocations: 141.2 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007551, allocations: 0 / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001472/0.007699, allocations: 161.3 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.045e-05/0.007709, allocations: 8 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.007714, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.007725, allocations: 4 kB / 277.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.007871, allocations: 75.84 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.007876, allocations: 7.938 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.211e-05/0.007938, allocations: 24.09 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.007948, allocations: 15.98 kB / 277.3 MB, free: 13.1 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 6.589e-05/0.008014, allocations: 129.7 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.00804, allocations: 19.98 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.008155, allocations: 114.6 kB / 277.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.008157, allocations: 4 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.008158, allocations: 0 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.008161, allocations: 0 / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002794/0.00844, allocations: 360 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.008441, allocations: 0 / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001352/0.008576, allocations: 56.03 kB / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.008578, allocations: 0 / 278 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.008588, allocations: 8 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.00859, allocations: 0 / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.008591, allocations: 3.938 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001695/0.008761, allocations: 260.4 kB / 278.2 MB, free: 12.1 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.578e-05/0.008777, allocations: 15.86 kB / 278.2 MB, free: 12.08 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.008793, allocations: 8 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.008864, allocations: 16.03 kB / 278.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.008892, allocations: 19.95 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-06/0.008898, allocations: 4 kB / 278.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.679e-05/0.008935, allocations: 57.56 kB / 278.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008935, allocations: 3.938 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000178/0.009113, allocations: 79.78 kB / 278.4 MB, free: 11.89 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 6.653e-05/0.00918, allocations: 88.56 kB / 278.5 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.009297, allocations: 112.9 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.0093, allocations: 0 / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.38e-05/0.009344, allocations: 56.75 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001518/0.009495, allocations: 27.92 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007439/0.01024, allocations: 0.609 MB / 279.3 MB, free: 10.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.578e-05/0.01029, allocations: 87.97 kB / 279.4 MB, free: 10.86 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.323e-05/0.01034, allocations: 26.02 kB / 279.4 MB, free: 10.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.361e-05/0.01042, allocations: 91.38 kB / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of SimCode: time 3.2e-07/0.01042, allocations: 0 / 279.5 MB, free: 10.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003442/0.01386, allocations: 1.914 MB / 281.4 MB, free: 8.871 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.627733786124736]