Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.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.001835/0.001835, allocations: 74.58 kB / 21.24 MB, free: 0.5547 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.001651/0.001651, allocations: 151.9 kB / 24.49 MB, free: 3.723 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.406/1.406, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 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.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.0.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.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 47.92 kB / 319.4 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 52.16 MB / 371.6 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.SeriesResonance): time 0.004338/0.1293, allocations: 2.685 MB / 374.3 MB, free: 4.633 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.1305, allocations: 0.6543 MB / 374.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.1307, allocations: 11.94 kB / 374.9 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001951/0.1309, allocations: 63.42 kB / 375 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.131, allocations: 83.19 kB / 375.1 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1313, allocations: 91.83 kB / 375.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004616/0.1318, allocations: 382.3 kB / 375.5 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.132, allocations: 97.84 kB / 375.6 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002326/0.1323, allocations: 151.5 kB / 375.8 MB, free: 3.102 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1325, allocations: 139.2 kB / 375.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.1326, allocations: 32 kB / 375.9 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.382e-05/0.1326, allocations: 32 kB / 376 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.98e-05/0.1327, allocations: 71.75 kB / 376 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.1329, allocations: 135.4 kB / 376.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004838/0.1333, allocations: 382.4 kB / 376.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1334, allocations: 0 / 376.6 MB, free: 2.324 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1334, allocations: 4 kB / 376.6 MB, free: 2.32 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.1334, allocations: 0 / 376.6 MB, free: 2.32 MB / 334.1 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.001089/0.1344, allocations: 0.5481 MB / 377.1 MB, free: 1.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.1345, allocations: 8.922 kB / 377.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.799e-05/0.1346, allocations: 36.7 kB / 377.2 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004085/0.135, allocations: 202 kB / 377.3 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.333e-05/0.135, allocations: 25.03 kB / 377.4 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.596e-05/0.1351, allocations: 44.31 kB / 377.4 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.1357, allocations: 333.7 kB / 377.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1357, allocations: 0 / 377.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.871e-05/0.1358, allocations: 8 kB / 377.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1358, allocations: 8 kB / 377.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004996/0.1363, allocations: 202.5 kB / 378 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.1377, allocations: 0.8018 MB / 378.8 MB, free: 15.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.1381, allocations: 146.6 kB / 378.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001841/0.1383, allocations: 76.81 kB / 379 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1383, allocations: 11.94 kB / 379 MB, free: 15.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1383, allocations: 34.56 kB / 379 MB, free: 15.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.1383, allocations: 3.938 kB / 379 MB, free: 15.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.0006097/0.1389, allocations: 213.6 kB / 379.2 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.139, allocations: 55.41 kB / 379.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1392, allocations: 190.3 kB / 379.5 MB, free: 15.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.1392, allocations: 33.7 kB / 379.5 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.1394, allocations: 196.3 kB / 379.7 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.514e-05/0.1395, allocations: 71.41 kB / 379.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.926e-05/0.1396, allocations: 45.66 kB / 379.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1397, allocations: 330.8 kB / 380.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.1399, allocations: 59.95 kB / 380.2 MB, free: 14.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.1401, allocations: 118 kB / 380.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.1405, allocations: 189.8 kB / 380.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.1405, allocations: 0 / 380.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005039/0.141, allocations: 237.2 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1411, allocations: 8 kB / 380.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1411, allocations: 4.172 kB / 380.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.1411, allocations: 7.984 kB / 380.7 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002877/0.1414, allocations: 63.89 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1414, allocations: 4 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1415, allocations: 23.84 kB / 380.8 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.397e-05/0.1415, allocations: 15.98 kB / 380.9 MB, free: 13.77 MB / 350.1 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 0.0001455/0.1417, allocations: 141.8 kB / 381 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.1417, allocations: 23.78 kB / 381 MB, free: 13.6 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004437/0.1422, allocations: 194.8 kB / 381.2 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1422, allocations: 4 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1422, allocations: 3.984 kB / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.1422, allocations: 0 / 381.2 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002914/0.1425, allocations: 213.1 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1425, allocations: 3.984 kB / 381.4 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/0.1428, allocations: 47.97 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1428, allocations: 3.938 kB / 381.5 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1428, allocations: 4 kB / 381.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1428, allocations: 8 kB / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1428, allocations: 0 / 381.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006293/0.1434, allocations: 347.2 kB / 381.8 MB, free: 12.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.1435, allocations: 19.78 kB / 381.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.1435, allocations: 4.062 kB / 381.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.1437, allocations: 15.98 kB / 381.9 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.1437, allocations: 15.97 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1437, allocations: 8 kB / 381.9 MB, free: 12.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000122/0.1438, allocations: 140.4 kB / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1438, allocations: 0 / 382 MB, free: 12.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003325/0.1442, allocations: 75.73 kB / 382.1 MB, free: 12.46 MB / 350.1 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 0.0001171/0.1443, allocations: 107.1 kB / 382.2 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.1447, allocations: 147.9 kB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1447, allocations: 4.25 kB / 382.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001681/0.1449, allocations: 71.89 kB / 382.4 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003136/0.1452, allocations: 28.11 kB / 382.4 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.1466, allocations: 0.831 MB / 383.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001653/0.1468, allocations: 163.4 kB / 383.4 MB, free: 11.06 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.329e-05/0.1468, allocations: 17.58 kB / 383.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.518e-05/0.1469, allocations: 24.48 kB / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1469, allocations: 0 / 383.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Templates: time 0.005382/0.1523, allocations: 1.757 MB / 385.2 MB, free: 9.301 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.SeriesResonance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/SeriesResonance/SeriesResonance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.491777994087897]