Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.0007766/0.0007766, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003746/0.003746, allocations: 163.3 kB / 24.7 MB, free: 9.43 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.8265/0.8265, allocations: 177.1 MB / 205 MB, free: 5.734 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.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") translateModel(Modelica.Electrical.Analog.Examples.SeriesResonance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|cosineVoltage.phi|inductor1.i|inductor2.i|sineVoltage.phi",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.263e-06/1.263e-06, allocations: 3.938 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.581e-05, allocations: 2.281 kB / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.002464/0.00248, allocations: 2.731 MB / 328.6 MB, free: 12.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.003253, allocations: 0.6776 MB / 329.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003366, allocations: 11.94 kB / 329.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.00352, allocations: 63.36 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.003632, allocations: 91.14 kB / 329.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002061/0.003838, allocations: 91.86 kB / 329.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00026/0.004098, allocations: 390 kB / 329.9 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.004276, allocations: 105.8 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002758/0.004552, allocations: 231.4 kB / 330.2 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.004673, allocations: 115.7 kB / 330.3 MB, free: 10.9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.004708, allocations: 32 kB / 330.4 MB, free: 10.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.931e-05/0.004738, allocations: 32 kB / 330.4 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.00478, allocations: 67.75 kB / 330.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.544e-05/0.004855, allocations: 115.7 kB / 330.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002767/0.005132, allocations: 386.7 kB / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.053e-06/0.005134, allocations: 0 / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.005135, allocations: 0 / 330.9 MB, free: 10.28 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.478e-06/0.005139, allocations: 4 kB / 330.9 MB, free: 10.28 MB / 298.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.0006176/0.005757, allocations: 0.5435 MB / 331.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.005791, allocations: 8.031 kB / 331.5 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.005842, allocations: 36.7 kB / 331.5 MB, free: 9.664 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.006068, allocations: 201.3 kB / 331.7 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.826e-05/0.006086, allocations: 21.03 kB / 331.8 MB, free: 9.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.006124, allocations: 36.31 kB / 331.8 MB, free: 9.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003437/0.006468, allocations: 330 kB / 332.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.00648, allocations: 192 / 332.1 MB, free: 9.043 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.198e-05/0.006502, allocations: 16.38 kB / 332.1 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.006509, allocations: 7.938 kB / 332.1 MB, free: 9.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002588/0.006768, allocations: 202.5 kB / 332.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.007873, allocations: 0.8134 MB / 333.1 MB, free: 7.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.008074, allocations: 151.8 kB / 333.3 MB, free: 7.797 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.13e-05/0.008166, allocations: 76.81 kB / 333.4 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.008179, allocations: 4.312 kB / 333.4 MB, free: 7.715 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.008201, allocations: 34.56 kB / 333.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.052e-06/0.008202, allocations: 0 / 333.4 MB, free: 7.672 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003419/0.008544, allocations: 213.3 kB / 333.6 MB, free: 7.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.008571, allocations: 59.39 kB / 333.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.00869, allocations: 188.7 kB / 333.9 MB, free: 7.195 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.008703, allocations: 29.7 kB / 333.9 MB, free: 7.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.6e-05/0.008779, allocations: 200.3 kB / 334.1 MB, free: 6.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.008811, allocations: 71.42 kB / 334.2 MB, free: 6.891 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.008858, allocations: 45.7 kB / 334.2 MB, free: 6.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.008938, allocations: 326.8 kB / 334.5 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.08e-05/0.009029, allocations: 63.95 kB / 334.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.009142, allocations: 121.9 kB / 334.7 MB, free: 6.309 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.009344, allocations: 189.8 kB / 334.9 MB, free: 6.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.009346, allocations: 0 / 334.9 MB, free: 6.102 MB / 298.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002622/0.009608, allocations: 233.3 kB / 335.1 MB, free: 5.867 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.009619, allocations: 10.97 kB / 335.1 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.009624, allocations: 3.938 kB / 335.1 MB, free: 5.855 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.009636, allocations: 4 kB / 335.1 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.009781, allocations: 72.02 kB / 335.2 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.009787, allocations: 4 kB / 335.2 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.362e-05/0.00985, allocations: 19.89 kB / 335.2 MB, free: 5.758 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.009861, allocations: 8 kB / 335.2 MB, free: 5.75 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (29): * Single equations (assignments): 29 * 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.571e-05/0.009947, allocations: 141.8 kB / 335.4 MB, free: 5.602 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.29e-05/0.00997, allocations: 15.91 kB / 335.4 MB, free: 5.586 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002267/0.0102, allocations: 191.2 kB / 335.6 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.0102, allocations: 8 kB / 335.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.0102, allocations: 3.984 kB / 335.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.01021, allocations: 0 / 335.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.01038, allocations: 217.1 kB / 335.8 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.01038, allocations: 3.984 kB / 335.8 MB, free: 5.137 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001351/0.01052, allocations: 51.97 kB / 335.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.01052, allocations: 0 / 335.8 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01053, allocations: 4 kB / 335.9 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.01053, allocations: 7.938 kB / 335.9 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.01053, allocations: 3.938 kB / 335.9 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.01086, allocations: 351.1 kB / 336.2 MB, free: 4.711 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.913e-05/0.01088, allocations: 15.84 kB / 336.2 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.75e-05/0.01089, allocations: 8.062 kB / 336.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.01097, allocations: 15.92 kB / 336.2 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.531e-05/0.01101, allocations: 19.97 kB / 336.3 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.01101, allocations: 7.984 kB / 336.3 MB, free: 4.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.129e-05/0.01108, allocations: 143.4 kB / 336.4 MB, free: 4.504 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01108, allocations: 4 kB / 336.4 MB, free: 4.5 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001896/0.01127, allocations: 75.78 kB / 336.5 MB, free: 4.426 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (sineVoltage.phi,inductor1.i,capacitor1.v,cosineVoltage.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 (19): * Single equations (assignments): 19 * 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 7.615e-05/0.01135, allocations: 107.3 kB / 336.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.01157, allocations: 143.9 kB / 336.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01157, allocations: 0 / 336.7 MB, free: 4.172 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.405e-05/0.01165, allocations: 78.67 kB / 336.8 MB, free: 4.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001953/0.01185, allocations: 31.92 kB / 336.8 MB, free: 4.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007509/0.0126, allocations: 0.7076 MB / 337.6 MB, free: 3.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.952e-05/0.01269, allocations: 159.4 kB / 337.7 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.521e-05/0.01273, allocations: 20.5 kB / 337.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01274, allocations: 0 / 337.7 MB, free: 3.121 MB / 298.7 MB Notification: Performance of Templates: time 0.003286/0.01602, allocations: 2.955 MB / 340.7 MB, free: 168 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.284808615222573]