Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.001314/0.001314, 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.00135/0.00135, 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.423/1.423, allocations: 177.1 MB / 204.7 MB, free: 9.023 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.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001983, allocations: 66.14 kB / 325.5 MB, free: 232 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1241, allocations: 53.38 MB / 378.9 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004132/0.1282, allocations: 1.917 MB / 380.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002561/0.1308, allocations: 1.172 MB / 382 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.131, allocations: 7.938 kB / 382 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00068/0.1316, allocations: 155.4 kB / 382.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004282/0.1321, allocations: 171.3 kB / 382.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005133/0.1326, allocations: 171.4 kB / 382.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002766/0.1329, allocations: 195.5 kB / 382.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.133, allocations: 33.66 kB / 382.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001275/0.1331, allocations: 87.64 kB / 382.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001405/0.1333, allocations: 79.61 kB / 382.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.1333, allocations: 12 kB / 382.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1334, allocations: 67.88 kB / 383 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.829e-05/0.1335, allocations: 43.84 kB / 383 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.172e-05/0.1336, allocations: 55.59 kB / 383.1 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003576/0.134, allocations: 227 kB / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.134, allocations: 0 / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.134, allocations: 0 / 383.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.218e-05/0.134, allocations: 0 / 383.3 MB, free: 11.15 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008208/0.1348, allocations: 466.6 kB / 383.7 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1348, allocations: 15.98 kB / 383.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.1349, allocations: 24.78 kB / 383.8 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003619/0.1353, allocations: 221.5 kB / 384 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.1353, allocations: 8.375 kB / 384 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.019e-05/0.1353, allocations: 4.375 kB / 384 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003642/0.1357, allocations: 170.4 kB / 384.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.1357, allocations: 3.938 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1357, allocations: 0 / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1357, allocations: 4 kB / 384.2 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.1358, allocations: 43.91 kB / 384.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005034/0.1363, allocations: 310.9 kB / 384.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.1366, allocations: 126.5 kB / 384.6 MB, free: 9.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.1367, allocations: 59.42 kB / 384.7 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.1367, allocations: 7.938 kB / 384.7 MB, free: 9.543 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.1369, allocations: 79.31 kB / 384.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.433e-06/0.1369, allocations: 0 / 384.8 MB, free: 9.453 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.000409/0.1373, allocations: 169.4 kB / 385 MB, free: 9.281 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.867e-05/0.1374, allocations: 136.9 kB / 385.1 MB, free: 9.117 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.1377, allocations: 281.9 kB / 385.4 MB, free: 8.836 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.1377, allocations: 33.69 kB / 385.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.1378, allocations: 128.3 kB / 385.5 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.1378, allocations: 19.84 kB / 385.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.183e-05/0.1379, allocations: 29.7 kB / 385.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.138, allocations: 338.8 kB / 385.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.776e-05/0.1381, allocations: 20 kB / 385.9 MB, free: 8.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.1382, allocations: 104.5 kB / 386 MB, free: 8.117 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001736/0.1384, allocations: 97.97 kB / 386.1 MB, free: 8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1384, allocations: 0 / 386.1 MB, free: 8 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000248/0.1387, allocations: 137.3 kB / 386.2 MB, free: 7.859 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1387, allocations: 8 kB / 386.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.1387, allocations: 192 / 386.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.1387, allocations: 8 kB / 386.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.441e-05/0.1388, allocations: 15.98 kB / 386.3 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.083e-05/0.1388, allocations: 3.938 kB / 386.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.1389, allocations: 8 kB / 386.3 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1389, allocations: 8 kB / 386.3 MB, free: 7.809 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: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.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 (13): * Single equations (assignments): 13 * 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.0001365/0.139, allocations: 146.3 kB / 386.4 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1391, allocations: 77.48 kB / 386.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.1394, allocations: 123.5 kB / 386.6 MB, free: 7.445 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1394, allocations: 4 kB / 386.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.1394, allocations: 0 / 386.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1394, allocations: 4 kB / 386.6 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.1396, allocations: 173.2 kB / 386.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-06/0.1396, allocations: 4 kB / 386.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.354e-05/0.1396, allocations: 4.312 kB / 386.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1396, allocations: 0 / 386.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.1396, allocations: 11.98 kB / 386.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.1396, allocations: 0 / 386.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.1396, allocations: 7.938 kB / 386.8 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000292/0.1399, allocations: 195.3 kB / 387 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.862e-05/0.14, allocations: 23.89 kB / 387.1 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.14, allocations: 8 kB / 387.1 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.608e-05/0.1401, allocations: 7.984 kB / 387.1 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/0.1401, allocations: 4 kB / 387.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.1401, allocations: 4 kB / 387.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.1403, allocations: 213.2 kB / 387.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1403, allocations: 0 / 387.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.1406, allocations: 35.89 kB / 387.3 MB, free: 6.699 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (12): * Single equations (assignments): 10 * 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.001614/0.1422, allocations: 446.5 kB / 387.8 MB, free: 6.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.1425, allocations: 75.91 kB / 387.8 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1425, allocations: 4 kB / 387.8 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.519e-05/0.1425, allocations: 31.92 kB / 387.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004245/0.143, allocations: 74.41 kB / 387.9 MB, free: 6.23 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006467/0.1436, allocations: 349.8 kB / 388.3 MB, free: 5.852 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001517/0.1438, allocations: 123.6 kB / 388.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.61e-05/0.1438, allocations: 21.62 kB / 388.4 MB, free: 5.688 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.1439, allocations: 32.48 kB / 388.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1439, allocations: 0 / 388.5 MB, free: 5.656 MB / 350.1 MB Notification: Performance of Templates: time 0.0071/0.151, allocations: 2.871 MB / 391.3 MB, free: 2.836 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.36556449602358]