Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.001835/0.001835, allocations: 77.7 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.002272/0.002272, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.505/1.505, 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.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 57.31 kB / 325.5 MB, free: 184 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1245, allocations: 53.39 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003627/0.1281, allocations: 1.871 MB / 380.8 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002235/0.1304, allocations: 1.226 MB / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1305, allocations: 0 / 382 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003142/0.1308, allocations: 71.66 kB / 382.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.1312, allocations: 131.4 kB / 382.2 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006306/0.1318, allocations: 238.7 kB / 382.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000262/0.132, allocations: 179.5 kB / 382.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1322, allocations: 25.78 kB / 382.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1323, allocations: 75.64 kB / 382.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1324, allocations: 83.61 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.667e-05/0.1324, allocations: 8 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.1326, allocations: 75.94 kB / 382.9 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.988e-05/0.1327, allocations: 55.77 kB / 382.9 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.297e-05/0.1328, allocations: 55.61 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003578/0.1331, allocations: 243 kB / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1332, allocations: 0 / 383.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1332, allocations: 3.938 kB / 383.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.1332, allocations: 0 / 383.2 MB, free: 11.11 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.0007352/0.1339, allocations: 486.5 kB / 383.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.1339, allocations: 15.92 kB / 383.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.045e-05/0.134, allocations: 24.8 kB / 383.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.1344, allocations: 233.4 kB / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1344, allocations: 8.375 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1344, allocations: 4.375 kB / 384 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003626/0.1348, allocations: 184.7 kB / 384.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.1348, allocations: 0 / 384.2 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1348, allocations: 7.984 kB / 384.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1348, allocations: 4 kB / 384.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.135, allocations: 35.97 kB / 384.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.1355, allocations: 326 kB / 384.5 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002588/0.1357, allocations: 119.9 kB / 384.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1358, allocations: 46.56 kB / 384.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.1359, allocations: 4 kB / 384.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001798/0.136, allocations: 87.31 kB / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.136, allocations: 0 / 384.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004079/0.1364, allocations: 157.4 kB / 384.9 MB, free: 9.223 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.372e-05/0.1365, allocations: 136.5 kB / 385.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000371/0.1369, allocations: 341.9 kB / 385.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.1369, allocations: 25.7 kB / 385.4 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/0.137, allocations: 132.1 kB / 385.6 MB, free: 8.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.508e-05/0.1371, allocations: 11.91 kB / 385.6 MB, free: 8.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.565e-05/0.1371, allocations: 29.7 kB / 385.6 MB, free: 8.508 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1373, allocations: 342.8 kB / 385.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.165e-05/0.1374, allocations: 23.98 kB / 386 MB, free: 8.141 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000155/0.1375, allocations: 141.6 kB / 386.1 MB, free: 7.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.1377, allocations: 80.22 kB / 386.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1377, allocations: 0 / 386.2 MB, free: 7.875 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.1379, allocations: 125.4 kB / 386.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.138, allocations: 8 kB / 386.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.138, allocations: 8.141 kB / 386.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.138, allocations: 4 kB / 386.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000106/0.1381, allocations: 16 kB / 386.3 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.1381, allocations: 4 kB / 386.3 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.721e-05/0.1382, allocations: 11.92 kB / 386.3 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.1382, allocations: 7.938 kB / 386.3 MB, free: 7.688 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,shiftSample1.y,shiftSample1.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.0001478/0.1383, allocations: 153.8 kB / 386.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.1384, allocations: 73.44 kB / 386.6 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.1387, allocations: 127.5 kB / 386.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1387, allocations: 0 / 386.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1387, allocations: 0 / 386.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.1387, allocations: 4.312 kB / 386.7 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1389, allocations: 185.2 kB / 386.9 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.139, allocations: 4 kB / 386.9 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/0.139, allocations: 12 kB / 386.9 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.139, allocations: 3.938 kB / 386.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.699e-06/0.139, allocations: 0 / 386.9 MB, free: 7.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.139, allocations: 7.984 kB / 386.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.139, allocations: 0 / 386.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002845/0.1393, allocations: 178.5 kB / 387.1 MB, free: 6.875 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.1394, allocations: 35.78 kB / 387.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/0.1394, allocations: 8 kB / 387.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.1395, allocations: 7.984 kB / 387.1 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.115e-05/0.1396, allocations: 11.98 kB / 387.1 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.1396, allocations: 4 kB / 387.1 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002536/0.1398, allocations: 241.2 kB / 387.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1398, allocations: 0 / 387.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002598/0.1401, allocations: 39.92 kB / 387.4 MB, free: 6.531 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,shiftSample1.y,sample1.y,shiftSample1.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.001619/0.1417, allocations: 449.9 kB / 387.9 MB, free: 6.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.1419, allocations: 79.84 kB / 387.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1419, allocations: 0 / 387.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.373e-05/0.142, allocations: 23.98 kB / 388 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.1424, allocations: 73.91 kB / 388 MB, free: 6.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.1431, allocations: 385.2 kB / 388.4 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/0.1432, allocations: 131.9 kB / 388.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.599e-05/0.1433, allocations: 25.62 kB / 388.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.147e-05/0.1434, allocations: 24.48 kB / 388.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of SimCode: time 7.31e-07/0.1434, allocations: 4 kB / 388.6 MB, free: 5.453 MB / 350.1 MB Notification: Performance of Templates: time 0.00795/0.1513, allocations: 3.05 MB / 391.6 MB, free: 2.441 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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.51458088401705]