Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001729/0.001729, allocations: 75.75 kB / 21.25 MB, free: 396 kB / 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.001929/0.001929, allocations: 159.7 kB / 24.49 MB, free: 3.453 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.479/1.479, allocations: 177.1 MB / 204.7 MB, free: 9.008 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.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5053,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 66.39 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1339, allocations: 53.38 MB / 378.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.0037/0.1376, allocations: 1.878 MB / 380.8 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.14, allocations: 1.227 MB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1402, allocations: 7.938 kB / 382 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.1405, allocations: 67.67 kB / 382.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003618/0.1409, allocations: 135.4 kB / 382.2 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006388/0.1415, allocations: 231.2 kB / 382.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.1418, allocations: 187.5 kB / 382.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001262/0.1419, allocations: 21.8 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.142, allocations: 79.69 kB / 382.7 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.1422, allocations: 79.61 kB / 382.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.1422, allocations: 12 kB / 382.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001823/0.1424, allocations: 75.88 kB / 382.9 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.1425, allocations: 47.84 kB / 382.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.1426, allocations: 55.61 kB / 383 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003785/0.143, allocations: 246.9 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.143, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.143, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.112e-06/0.143, allocations: 7.938 kB / 383.2 MB, free: 11.17 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007836/0.1438, allocations: 482.6 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1438, allocations: 15.92 kB / 383.7 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.768e-05/0.1439, allocations: 24.8 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.1443, allocations: 233.4 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.1443, allocations: 4.375 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1443, allocations: 12.31 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003797/0.1447, allocations: 180.7 kB / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1447, allocations: 0 / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1447, allocations: 0 / 384.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.1447, allocations: 4 kB / 384.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.1449, allocations: 47.89 kB / 384.2 MB, free: 10.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.1454, allocations: 318.1 kB / 384.5 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1457, allocations: 115.9 kB / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.959e-05/0.1458, allocations: 54.5 kB / 384.7 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.1458, allocations: 4 kB / 384.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001891/0.146, allocations: 83.38 kB / 384.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.146, allocations: 0 / 384.8 MB, free: 9.449 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004316/0.1465, allocations: 161.4 kB / 384.9 MB, free: 9.285 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.1466, allocations: 128.5 kB / 385.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003866/0.147, allocations: 338.1 kB / 385.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.147, allocations: 29.7 kB / 385.4 MB, free: 8.758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.1471, allocations: 136.1 kB / 385.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.1472, allocations: 11.91 kB / 385.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.1472, allocations: 33.7 kB / 385.6 MB, free: 8.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1474, allocations: 338.8 kB / 385.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.786e-05/0.1475, allocations: 23.98 kB / 386 MB, free: 8.207 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001489/0.1476, allocations: 133.3 kB / 386.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001755/0.1478, allocations: 88.23 kB / 386.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.1478, allocations: 0 / 386.2 MB, free: 7.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002421/0.1481, allocations: 129.4 kB / 386.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1481, allocations: 11.94 kB / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.1481, allocations: 0 / 386.3 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1481, allocations: 4 kB / 386.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.1482, allocations: 19.92 kB / 386.3 MB, free: 7.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1482, allocations: 4 kB / 386.3 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.772e-05/0.1483, allocations: 16.05 kB / 386.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.104e-05/0.1483, allocations: 4 kB / 386.4 MB, free: 7.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001696/0.1485, allocations: 153.8 kB / 386.5 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.1486, allocations: 73.44 kB / 386.6 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002935/0.1489, allocations: 127.5 kB / 386.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1489, allocations: 0 / 386.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.1489, allocations: 320 / 386.7 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1489, allocations: 4 kB / 386.7 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.1491, allocations: 189.1 kB / 386.9 MB, free: 7.16 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.1491, allocations: 3.984 kB / 386.9 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.903e-05/0.1492, allocations: 12 kB / 386.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1492, allocations: 0 / 386.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1492, allocations: 0 / 386.9 MB, free: 7.145 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.1492, allocations: 4 kB / 386.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.1492, allocations: 3.984 kB / 386.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.1495, allocations: 174.5 kB / 387.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.764e-05/0.1496, allocations: 39.78 kB / 387.1 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.1496, allocations: 4 kB / 387.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.665e-05/0.1497, allocations: 11.98 kB / 387.1 MB, free: 6.887 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.1497, allocations: 11.98 kB / 387.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.1498, allocations: 4 kB / 387.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.15, allocations: 245.2 kB / 387.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.15, allocations: 0 / 387.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002727/0.1503, allocations: 39.92 kB / 387.4 MB, free: 6.59 MB / 350.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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00168/0.152, allocations: 442.6 kB / 387.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002521/0.1522, allocations: 79.97 kB / 387.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1523, allocations: 0 / 387.9 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.695e-05/0.1523, allocations: 27.98 kB / 388 MB, free: 6.199 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.1528, allocations: 70.8 kB / 388 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006682/0.1534, allocations: 376.9 kB / 388.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001591/0.1536, allocations: 136.3 kB / 388.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.507e-05/0.1537, allocations: 25.62 kB / 388.6 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.789e-05/0.1537, allocations: 28.48 kB / 388.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1537, allocations: 0 / 388.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of Templates: time 0.007446/0.1612, allocations: 3.002 MB / 391.6 MB, free: 2.555 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.471580901998095]