Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.001266/0.001266, allocations: 78.09 kB / 21.25 MB, free: 0.5391 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.001505/0.001505, allocations: 166.1 kB / 24.5 MB, free: 3.719 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.431/1.431, allocations: 177.1 MB / 204.7 MB, free: 8.953 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.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 62.42 kB / 325.5 MB, free: 180 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1256, allocations: 53.38 MB / 378.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003601/0.1292, allocations: 1.898 MB / 380.8 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002106/0.1313, allocations: 1.149 MB / 381.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1315, allocations: 7.938 kB / 382 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006601/0.1321, allocations: 155.4 kB / 382.1 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004025/0.1325, allocations: 163.4 kB / 382.3 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004743/0.133, allocations: 167.5 kB / 382.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002737/0.1333, allocations: 191.4 kB / 382.6 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.1334, allocations: 25.73 kB / 382.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001251/0.1335, allocations: 75.69 kB / 382.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1337, allocations: 87.55 kB / 382.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.1337, allocations: 8 kB / 382.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001504/0.1338, allocations: 55.95 kB / 382.9 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.588e-05/0.1339, allocations: 43.84 kB / 382.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.762e-05/0.134, allocations: 47.67 kB / 383 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.1343, allocations: 223 kB / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.1343, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1343, allocations: 0 / 383.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1343, allocations: 0 / 383.2 MB, free: 11.18 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.0007579/0.1351, allocations: 454.7 kB / 383.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.1351, allocations: 11.98 kB / 383.6 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.612e-05/0.1352, allocations: 20.8 kB / 383.6 MB, free: 10.67 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003362/0.1356, allocations: 213.5 kB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.1356, allocations: 8.375 kB / 383.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1356, allocations: 8.375 kB / 383.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003389/0.1359, allocations: 146.2 kB / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1359, allocations: 0 / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.136, allocations: 4 kB / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.136, allocations: 0 / 384 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1361, allocations: 35.92 kB / 384.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004564/0.1365, allocations: 302.1 kB / 384.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002219/0.1367, allocations: 103.9 kB / 384.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.383e-05/0.1368, allocations: 42.5 kB / 384.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1368, allocations: 8 kB / 384.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.137, allocations: 75.38 kB / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.137, allocations: 0 / 384.6 MB, free: 9.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003799/0.1374, allocations: 153.6 kB / 384.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.1375, allocations: 114.8 kB / 384.8 MB, free: 9.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.1378, allocations: 273.9 kB / 385.1 MB, free: 9.043 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.1378, allocations: 25.7 kB / 385.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1379, allocations: 120.1 kB / 385.2 MB, free: 8.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.1379, allocations: 15.84 kB / 385.3 MB, free: 8.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.376e-05/0.138, allocations: 37.59 kB / 385.3 MB, free: 8.832 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000149/0.1381, allocations: 334.8 kB / 385.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.1382, allocations: 23.98 kB / 385.6 MB, free: 8.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1383, allocations: 82.84 kB / 385.7 MB, free: 8.367 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000138/0.1384, allocations: 84.31 kB / 385.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1384, allocations: 0 / 385.8 MB, free: 8.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000205/0.1386, allocations: 121.4 kB / 385.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1387, allocations: 4 kB / 385.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1387, allocations: 7.984 kB / 385.9 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1387, allocations: 4.125 kB / 385.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.1388, allocations: 15.94 kB / 386 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1388, allocations: 0 / 386 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.1388, allocations: 15.94 kB / 386 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1389, allocations: 4 kB / 386 MB, free: 8.094 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,sample1.u,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.0001462/0.139, allocations: 141.8 kB / 386.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.499e-05/0.1391, allocations: 61.55 kB / 386.2 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002356/0.1393, allocations: 115.5 kB / 386.3 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1393, allocations: 4.062 kB / 386.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1393, allocations: 0 / 386.3 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.535e-06/0.1393, allocations: 8.297 kB / 386.3 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.1395, allocations: 173 kB / 386.5 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/0.1395, allocations: 7.984 kB / 386.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.243e-05/0.1395, allocations: 8 kB / 386.5 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1395, allocations: 4 kB / 386.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.1396, allocations: 0 / 386.5 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1396, allocations: 4 kB / 386.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1396, allocations: 0 / 386.5 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.1398, allocations: 166.6 kB / 386.7 MB, free: 7.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.357e-05/0.1399, allocations: 31.84 kB / 386.7 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.588e-05/0.1399, allocations: 4 kB / 386.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.14, allocations: 11.92 kB / 386.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/0.14, allocations: 4.094 kB / 386.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.14, allocations: 7.938 kB / 386.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002123/0.1402, allocations: 205.2 kB / 386.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1402, allocations: 0 / 386.9 MB, free: 7.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1405, allocations: 35.92 kB / 387 MB, free: 7.039 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,sample1.u,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.1421, allocations: 437.8 kB / 387.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002194/0.1423, allocations: 71.91 kB / 387.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1423, allocations: 0 / 387.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.477e-05/0.1424, allocations: 23.98 kB / 387.5 MB, free: 6.668 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.1428, allocations: 70.31 kB / 387.5 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/0.1434, allocations: 322.1 kB / 387.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.1435, allocations: 123.6 kB / 388 MB, free: 6.113 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.216e-05/0.1435, allocations: 21.62 kB / 388 MB, free: 6.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.1436, allocations: 24.48 kB / 388 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1436, allocations: 0 / 388 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Templates: time 0.007221/0.1508, allocations: 2.643 MB / 390.7 MB, free: 3.469 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.383607772062533]