Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001304/0.001304, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.001376/0.001376, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.513/1.513, allocations: 230.2 MB / 255.2 MB, free: 15.25 MB / 206.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.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002834/0.002834, allocations: 67.89 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1291, allocations: 53.31 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003862/0.1329, allocations: 1.604 MB / 429.4 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.1342, allocations: 0.5727 MB / 430 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.1344, allocations: 4 kB / 430 MB, free: 2.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.803e-05/0.1344, allocations: 7.922 kB / 430 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1346, allocations: 7.875 kB / 430 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.135, allocations: 67.73 kB / 430.1 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.1352, allocations: 47.84 kB / 430.2 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.1353, allocations: 12.17 kB / 430.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001493/0.1354, allocations: 31.86 kB / 430.2 MB, free: 2.121 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.724e-05/0.1355, allocations: 23.86 kB / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1355, allocations: 0 / 430.2 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.427e-05/0.1356, allocations: 12 kB / 430.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.965e-05/0.1356, allocations: 15.92 kB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1357, allocations: 23.8 kB / 430.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.1359, allocations: 67.61 kB / 430.3 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1359, allocations: 4 kB / 430.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1359, allocations: 0 / 430.3 MB, free: 1.977 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1359, allocations: 0 / 430.3 MB, free: 1.977 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006194/0.1365, allocations: 387 kB / 430.7 MB, free: 1.551 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/0.1365, allocations: 12.03 kB / 430.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1367, allocations: 12.89 kB / 430.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.1371, allocations: 211.5 kB / 430.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1371, allocations: 384 / 430.9 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.1371, allocations: 11.94 kB / 431 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003294/0.1374, allocations: 117.9 kB / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1374, allocations: 0 / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.1374, allocations: 0 / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.1374, allocations: 0 / 431.1 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.603e-05/0.1375, allocations: 23.92 kB / 431.1 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.138, allocations: 278.6 kB / 431.4 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1381, allocations: 63.78 kB / 431.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.556e-05/0.1382, allocations: 38.62 kB / 431.5 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.284e-05/0.1382, allocations: 3.938 kB / 431.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1383, allocations: 30.56 kB / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.1383, allocations: 0 / 431.5 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003214/0.1386, allocations: 93.7 kB / 431.6 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.1387, allocations: 114.7 kB / 431.7 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1388, allocations: 141.8 kB / 431.8 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.866e-05/0.1389, allocations: 29.7 kB / 431.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.194e-05/0.1389, allocations: 88.12 kB / 432 MB, free: 100 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.139, allocations: 4 kB / 432 MB, free: 96 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.811e-05/0.139, allocations: 21.86 kB / 432 MB, free: 68 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.1392, allocations: 322.8 kB / 432.3 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.802e-05/0.1392, allocations: 8 kB / 432.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.051e-05/0.1393, allocations: 31.42 kB / 432.3 MB, free: 15.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.1394, allocations: 51.36 kB / 432.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1394, allocations: 0 / 432.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001535/0.1396, allocations: 65.61 kB / 432.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1396, allocations: 4 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.1396, allocations: 4 kB / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.1396, allocations: 0 / 432.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.758e-05/0.1397, allocations: 20.06 kB / 432.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.1397, allocations: 3.984 kB / 432.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.1398, allocations: 11.94 kB / 432.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.1398, allocations: 3.938 kB / 432.5 MB, free: 15.51 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001053/0.1399, allocations: 121.8 kB / 432.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.472e-05/0.14, allocations: 61.47 kB / 432.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.14, allocations: 11.88 kB / 432.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.14, allocations: 64 / 432.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.14, allocations: 8 kB / 432.7 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.14, allocations: 7.922 kB / 432.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002072/0.1402, allocations: 169.7 kB / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.1402, allocations: 0 / 432.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.582e-05/0.1403, allocations: 12.08 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1403, allocations: 3.984 kB / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1403, allocations: 0 / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1403, allocations: 0 / 432.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1403, allocations: 7.984 kB / 432.9 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.1405, allocations: 185.1 kB / 433.1 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.1406, allocations: 89.05 kB / 433.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.917e-05/0.1406, allocations: 4 kB / 433.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.121e-05/0.1407, allocations: 4 kB / 433.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.1407, allocations: 7.938 kB / 433.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1408, allocations: 3.984 kB / 433.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.502e-05/0.1409, allocations: 113.9 kB / 433.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1409, allocations: 0 / 433.3 MB, free: 14.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.1411, allocations: 4 kB / 433.3 MB, free: 14.6 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (4): * Single equations (assignments): 4 * 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.0001457/0.1412, allocations: 99.23 kB / 433.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001711/0.1414, allocations: 35.92 kB / 433.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1414, allocations: 256 / 433.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.96e-05/0.1414, allocations: 11.98 kB / 433.4 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.1418, allocations: 22.72 kB / 433.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.1423, allocations: 214 kB / 433.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.1426, allocations: 0.6885 MB / 434.4 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.1427, allocations: 19.69 kB / 434.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1427, allocations: 0 / 434.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Templates: time 0.003064/0.1457, allocations: 0.8413 MB / 435.2 MB, free: 12.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 7.065321027068421]