Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001431/0.001431, allocations: 82.09 kB / 21.25 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001555/0.001555, allocations: 166.6 kB / 24.5 MB, free: 3.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 177.1 MB / 204.7 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 57.5 kB / 325.6 MB, free: 152 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1137, allocations: 53.38 MB / 378.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ResonanceCircuits): time 0.007088/0.1208, allocations: 4.785 MB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.124, allocations: 1.469 MB / 385.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004843/0.1245, allocations: 39.69 kB / 385.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005306/0.125, allocations: 221.8 kB / 385.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005473/0.1256, allocations: 190 kB / 385.6 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.1264, allocations: 423.3 kB / 386.1 MB, free: 8.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001316/0.1277, allocations: 1.119 MB / 387.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006253/0.1284, allocations: 320.8 kB / 387.5 MB, free: 6.801 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007413/0.1291, allocations: 414.3 kB / 387.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005432/0.1296, allocations: 377.5 kB / 388.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.1298, allocations: 84 kB / 388.3 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002536/0.13, allocations: 104 kB / 388.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002227/0.1303, allocations: 215.1 kB / 388.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004766/0.1307, allocations: 405.7 kB / 389 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001666/0.1324, allocations: 1.197 MB / 390.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.1324, allocations: 0 / 390.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1324, allocations: 0 / 390.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.1324, allocations: 0 / 390.2 MB, free: 4.027 MB / 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.002262/0.1347, allocations: 1.271 MB / 391.5 MB, free: 2.723 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1347, allocations: 12.02 kB / 391.5 MB, free: 2.711 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003816/0.1351, allocations: 147.1 kB / 391.7 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00121/0.1363, allocations: 0.5822 MB / 392.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.1364, allocations: 77.94 kB / 392.3 MB, free: 1.879 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.1366, allocations: 96 kB / 392.4 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.1386, allocations: 1.081 MB / 393.5 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.1387, allocations: 11.83 kB / 393.5 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.1388, allocations: 44 kB / 393.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.284e-05/0.1388, allocations: 28 kB / 393.6 MB, free: 500 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00118/0.14, allocations: 0.5579 MB / 394.1 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.1455, allocations: 5.131 MB / 399.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.1461, allocations: 228.9 kB / 399.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003303/0.1464, allocations: 141.7 kB / 399.6 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.1465, allocations: 12 kB / 399.6 MB, free: 10.13 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1466, allocations: 42.5 kB / 399.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 2.024e-06/0.1466, allocations: 0 / 399.7 MB, free: 10.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.004006/0.1506, allocations: 1.601 MB / 401.3 MB, free: 8.422 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.1506, allocations: 85.02 kB / 401.4 MB, free: 8.32 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007723/0.1514, allocations: 0.6527 MB / 402 MB, free: 7.652 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.1515, allocations: 37.7 kB / 402.1 MB, free: 7.609 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004664/0.1519, allocations: 0.6122 MB / 402.7 MB, free: 6.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.1521, allocations: 162.7 kB / 402.8 MB, free: 6.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001972/0.1523, allocations: 138.6 kB / 403 MB, free: 6.688 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1525, allocations: 382.8 kB / 403.3 MB, free: 6.305 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/0.1528, allocations: 153.9 kB / 403.5 MB, free: 6.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000701/0.1535, allocations: 0.4934 MB / 404 MB, free: 5.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/0.1547, allocations: 0.6927 MB / 404.7 MB, free: 4.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.1547, allocations: 4 kB / 404.7 MB, free: 4.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001285/0.1559, allocations: 0.7188 MB / 405.4 MB, free: 3.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.156, allocations: 12 kB / 405.4 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/0.156, allocations: 12 kB / 405.4 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/0.156, allocations: 16 kB / 405.4 MB, free: 3.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006652/0.1567, allocations: 192.2 kB / 405.6 MB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.798e-05/0.1567, allocations: 27.88 kB / 405.7 MB, free: 3.664 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.1571, allocations: 39.92 kB / 405.7 MB, free: 3.625 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.1572, allocations: 40 kB / 405.7 MB, free: 3.586 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.0003893/0.1575, allocations: 229.5 kB / 406 MB, free: 3.352 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.1577, allocations: 79.48 kB / 406 MB, free: 3.273 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.1578, allocations: 74.62 kB / 406.1 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.1578, allocations: 4 kB / 406.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1578, allocations: 0 / 406.1 MB, free: 3.195 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.1578, allocations: 7.922 kB / 406.1 MB, free: 3.188 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001988/0.1598, allocations: 1.136 MB / 407.3 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.1598, allocations: 0 / 407.3 MB, free: 2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.1603, allocations: 100 kB / 407.4 MB, free: 1.902 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/0.1603, allocations: 4 kB / 407.4 MB, free: 1.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1603, allocations: 15.98 kB / 407.4 MB, free: 1.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.1603, allocations: 4 kB / 407.4 MB, free: 1.879 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.1604, allocations: 7.875 kB / 407.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1614, allocations: 0.7052 MB / 408.1 MB, free: 1.133 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1615, allocations: 67.52 kB / 408.2 MB, free: 1.066 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.1616, allocations: 15.94 kB / 408.2 MB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.1619, allocations: 19.98 kB / 408.2 MB, free: 1.031 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.162, allocations: 35.88 kB / 408.2 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.75e-05/0.162, allocations: 16 kB / 408.2 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005228/0.1625, allocations: 415 kB / 408.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1625, allocations: 0 / 408.6 MB, free: 0.582 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.1632, allocations: 140 kB / 408.8 MB, free: 456 kB / 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.0001586/0.1634, allocations: 115.2 kB / 408.9 MB, free: 332 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008333/0.1642, allocations: 412.9 kB / 409.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.1642, allocations: 4 kB / 409.3 MB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000291/0.1645, allocations: 141.2 kB / 409.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.1651, allocations: 79.42 kB / 409.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00287/0.1679, allocations: 1.685 MB / 411.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.1684, allocations: 417.3 kB / 411.6 MB, free: 13.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002474/0.1686, allocations: 90.02 kB / 411.7 MB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000142/0.1688, allocations: 60.48 kB / 411.8 MB, free: 13.38 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.1688, allocations: 4 kB / 411.8 MB, free: 13.37 MB / 382.1 MB Notification: Performance of Templates: time 0.01203/0.1808, allocations: 4.672 MB / 416.4 MB, free: 8.793 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.ResonanceCircuits_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/ResonanceCircuits/ResonanceCircuits.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 4.632384915952571]