Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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.001622/0.001622, allocations: 123 kB / 17.79 MB, free: 5.266 MB / 14.72 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.001892/0.001892, allocations: 185.2 kB / 20.73 MB, free: 2.332 MB / 14.72 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 1.546/1.546, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] 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.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") translateModel(Modelica.Electrical.Analog.Examples.ResonanceCircuits,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|capacitor1.v|capacitor2.v|inductor2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001671/0.001671, allocations: 51.92 kB / 366.2 MB, free: 320 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1207, allocations: 52.13 MB / 418.3 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007153/0.1279, allocations: 5.406 MB / 423.7 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.131, allocations: 1.434 MB / 425.1 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006272/0.1316, allocations: 27.88 kB / 425.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00054/0.1322, allocations: 217.8 kB / 425.4 MB, free: 4.973 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.1328, allocations: 198 kB / 425.6 MB, free: 4.777 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008605/0.1336, allocations: 395.4 kB / 426 MB, free: 4.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.1349, allocations: 1.119 MB / 427.1 MB, free: 3.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000589/0.1355, allocations: 336.3 kB / 427.4 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/0.1361, allocations: 410.2 kB / 427.8 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004912/0.1366, allocations: 425.6 kB / 428.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001241/0.1367, allocations: 87.98 kB / 428.3 MB, free: 2.008 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.1369, allocations: 99.98 kB / 428.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001831/0.1371, allocations: 207.1 kB / 428.6 MB, free: 1.707 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004323/0.1375, allocations: 0.4932 MB / 429.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1388, allocations: 1.186 MB / 430.3 MB, free: 20 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1388, allocations: 4 kB / 430.3 MB, free: 16 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1388, allocations: 0 / 430.3 MB, free: 16 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.913e-05/0.1388, allocations: 0 / 430.3 MB, free: 16 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.00214/0.141, allocations: 1.343 MB / 431.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.141, allocations: 19.83 kB / 431.6 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001943/0.1412, allocations: 131.2 kB / 431.8 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.1423, allocations: 0.6504 MB / 432.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-05/0.1424, allocations: 77.94 kB / 432.5 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.1425, allocations: 100 kB / 432.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.1444, allocations: 1.031 MB / 433.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.1444, allocations: 8 kB / 433.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.197e-05/0.1445, allocations: 47.94 kB / 433.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/0.1445, allocations: 27.94 kB / 433.7 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.1458, allocations: 0.5539 MB / 434.3 MB, free: 11.81 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00706/0.1528, allocations: 5.51 MB / 439.8 MB, free: 6.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006653/0.1535, allocations: 228.9 kB / 440 MB, free: 5.773 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.1538, allocations: 149.6 kB / 440.1 MB, free: 5.621 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.154, allocations: 89.09 kB / 440.2 MB, free: 5.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.943e-05/0.154, allocations: 38.5 kB / 440.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.234e-06/0.154, allocations: 0 / 440.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004662/0.1587, allocations: 1.73 MB / 442 MB, free: 3.641 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.582e-05/0.1588, allocations: 88.95 kB / 442.1 MB, free: 3.535 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/0.1596, allocations: 0.6334 MB / 442.7 MB, free: 2.891 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.1596, allocations: 37.7 kB / 442.8 MB, free: 2.848 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005041/0.1601, allocations: 0.6083 MB / 443.4 MB, free: 2.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/0.1603, allocations: 158.7 kB / 443.5 MB, free: 2.074 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.1605, allocations: 138.6 kB / 443.7 MB, free: 1.934 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002317/0.1607, allocations: 386.8 kB / 444 MB, free: 1.547 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000344/0.161, allocations: 149.9 kB / 444.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006364/0.1617, allocations: 0.4933 MB / 444.7 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2173/0.379, allocations: 0.6958 MB / 445.4 MB, free: 29.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.387e-05/0.379, allocations: 2.875 kB / 445.4 MB, free: 29.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001318/0.3803, allocations: 0.7165 MB / 446.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.3803, allocations: 10.81 kB / 446.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.3804, allocations: 15.12 kB / 446.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.572e-05/0.3804, allocations: 15.19 kB / 446.1 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006069/0.381, allocations: 197.6 kB / 446.3 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/0.381, allocations: 29.88 kB / 446.3 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003766/0.3814, allocations: 32.98 kB / 446.4 MB, free: 29.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.848e-05/0.3814, allocations: 40.52 kB / 446.4 MB, free: 29.45 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (96): * Single equations (assignments): 96 * 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.0002855/0.3817, allocations: 226.8 kB / 446.6 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.687e-05/0.3818, allocations: 81.06 kB / 446.7 MB, free: 29.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.3819, allocations: 72.27 kB / 446.8 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/0.3819, allocations: 5.969 kB / 446.8 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.382, allocations: 5 kB / 446.8 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.382, allocations: 1.688 kB / 446.8 MB, free: 29.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.3839, allocations: 1.321 MB / 448.1 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.3839, allocations: 1.75 kB / 448.1 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004541/0.3843, allocations: 103.6 kB / 448.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.3843, allocations: 4.406 kB / 448.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.3844, allocations: 10.59 kB / 448.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.3844, allocations: 4.344 kB / 448.2 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.3844, allocations: 7.406 kB / 448.3 MB, free: 28.89 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009792/0.3853, allocations: 0.7035 MB / 449 MB, free: 28.63 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.3855, allocations: 141.5 kB / 449.1 MB, free: 28.54 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.3855, allocations: 15.83 kB / 449.1 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.3858, allocations: 22.22 kB / 449.1 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.704e-05/0.3859, allocations: 29.17 kB / 449.2 MB, free: 28.53 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.3859, allocations: 14.98 kB / 449.2 MB, free: 28.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.3864, allocations: 424.2 kB / 449.6 MB, free: 28.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3864, allocations: 1.562 kB / 449.6 MB, free: 28.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007031/0.3871, allocations: 137.3 kB / 449.7 MB, free: 28.43 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (inductor2.i,capacitor2.v,inductor1.i,capacitor1.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 (40): * Single equations (assignments): 40 * 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.0001399/0.3872, allocations: 114 kB / 449.8 MB, free: 28.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008263/0.3881, allocations: 417.5 kB / 450.2 MB, free: 28.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3881, allocations: 7.266 kB / 450.3 MB, free: 28.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.3883, allocations: 144.4 kB / 450.4 MB, free: 28.29 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006157/0.389, allocations: 77.06 kB / 450.5 MB, free: 28.29 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.392, allocations: 1.681 MB / 452.1 MB, free: 27.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006901/0.3927, allocations: 1.003 MB / 453.2 MB, free: 26.7 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003582/0.393, allocations: 91.41 kB / 453.2 MB, free: 26.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002063/0.3932, allocations: 63.05 kB / 453.3 MB, free: 26.67 MB / 366.1 MB Notification: Performance of SimCode: time 1.954e-06/0.3932, allocations: 0.5625 kB / 453.3 MB, free: 26.67 MB / 366.1 MB Notification: Performance of Templates: time 0.01561/0.4088, allocations: 5.169 MB / 458.5 MB, free: 26.23 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ResonanceCircuits.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: 5.1040118355304]