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.001025/0.001025, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.0009909/0.0009909, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 18.57 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.002/1.002, allocations: 177 MB / 204.8 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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 8.81e-07/8.81e-07, allocations: 0 / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.482e-05/1.57e-05, allocations: 5.266 kB / 272.9 MB, free: 1.484 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.002278/0.002294, allocations: 1.983 MB / 274.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001598/0.003892, allocations: 1.211 MB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001134/0.004005, allocations: 7.938 kB / 276.1 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000439/0.004444, allocations: 155.3 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003042/0.004748, allocations: 167.2 kB / 276.4 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003856/0.005134, allocations: 175.4 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.005346, allocations: 211.3 kB / 276.8 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.00542, allocations: 17.8 kB / 276.8 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.005533, allocations: 111.7 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.236e-05/0.005626, allocations: 67.8 kB / 277 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.005646, allocations: 12 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.005761, allocations: 67.77 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.488e-05/0.005816, allocations: 43.84 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.708e-05/0.005863, allocations: 43.84 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002242/0.006087, allocations: 167.3 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.664e-06/0.006089, allocations: 4 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.006089, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.006093, allocations: 0 / 277.3 MB, free: 13.04 MB / 266.7 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.0004686/0.006562, allocations: 0.5478 MB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.006594, allocations: 11.98 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/0.006649, allocations: 32.8 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.00688, allocations: 240.2 kB / 278.1 MB, free: 12.14 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.006897, allocations: 12.36 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.006911, allocations: 12.38 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.007163, allocations: 156.2 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.007169, allocations: 192 / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.007182, allocations: 4.375 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007189, allocations: 3.938 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.061e-05/0.00724, allocations: 27.91 kB / 278.4 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003805/0.00762, allocations: 366.7 kB / 278.7 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.007761, allocations: 144.5 kB / 278.9 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.007811, allocations: 50.73 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.007832, allocations: 11.88 kB / 278.9 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.111e-05/0.007923, allocations: 73.05 kB / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.007924, allocations: 0 / 279 MB, free: 11.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0002005/0.008124, allocations: 133.4 kB / 279.1 MB, free: 11 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.008179, allocations: 136.5 kB / 279.3 MB, free: 10.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.008379, allocations: 300.3 kB / 279.5 MB, free: 10.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.462e-05/0.008393, allocations: 25.7 kB / 279.6 MB, free: 10.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.008479, allocations: 175.1 kB / 279.7 MB, free: 10.31 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.008504, allocations: 23.89 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.008542, allocations: 35.38 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.008686, allocations: 0.5001 MB / 280.3 MB, free: 9.734 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.234e-05/0.008708, allocations: 4 kB / 280.3 MB, free: 9.73 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.093e-05/0.008759, allocations: 73.12 kB / 280.4 MB, free: 9.641 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.676e-05/0.008806, allocations: 31.62 kB / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.008807, allocations: 0 / 280.4 MB, free: 9.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.985e-05/0.008897, allocations: 97.42 kB / 280.5 MB, free: 9.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.008907, allocations: 8 kB / 280.5 MB, free: 9.492 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.008911, allocations: 3.984 kB / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.115e-06/0.00892, allocations: 0 / 280.5 MB, free: 9.488 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.235e-05/0.008972, allocations: 8 kB / 280.5 MB, free: 9.48 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.008977, allocations: 11.88 kB / 280.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.268e-05/0.00901, allocations: 4.062 kB / 280.5 MB, free: 9.465 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-06/0.009014, allocations: 4 kB / 280.5 MB, free: 9.461 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 7.644e-05/0.009091, allocations: 164.6 kB / 280.7 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.476e-05/0.009155, allocations: 81.42 kB / 280.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.009284, allocations: 95.59 kB / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.009286, allocations: 0 / 280.9 MB, free: 9.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.009292, allocations: 4 kB / 280.9 MB, free: 9.098 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.009298, allocations: 3.984 kB / 280.9 MB, free: 9.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.009425, allocations: 176.6 kB / 281.1 MB, free: 8.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.009428, allocations: 8.094 kB / 281.1 MB, free: 8.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.009447, allocations: 7.938 kB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.009451, allocations: 7.938 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009461, allocations: 4 kB / 281.1 MB, free: 8.859 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.009463, allocations: 4 kB / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.009464, allocations: 0 / 281.1 MB, free: 8.855 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001444/0.009608, allocations: 179.3 kB / 281.3 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.53e-05/0.009654, allocations: 43.66 kB / 281.3 MB, free: 8.602 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.009677, allocations: 8 kB / 281.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.482e-05/0.009711, allocations: 7.984 kB / 281.3 MB, free: 8.586 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.009747, allocations: 4 kB / 281.3 MB, free: 8.582 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.00976, allocations: 8 kB / 281.3 MB, free: 8.574 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.009891, allocations: 213.1 kB / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009891, allocations: 0 / 281.5 MB, free: 8.367 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001888/0.01008, allocations: 24 kB / 281.6 MB, free: 8.344 MB / 266.7 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.0008305/0.01091, allocations: 400.4 kB / 282 MB, free: 8.062 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.01102, allocations: 51.61 kB / 282 MB, free: 8.008 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.01102, allocations: 4 kB / 282 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.718e-05/0.01106, allocations: 31.61 kB / 282 MB, free: 7.969 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.01132, allocations: 66.88 kB / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003787/0.01169, allocations: 336.8 kB / 282.4 MB, free: 7.539 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.01174, allocations: 75.98 kB / 282.5 MB, free: 7.445 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.689e-05/0.01178, allocations: 25.61 kB / 282.5 MB, free: 7.418 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.758e-05/0.01182, allocations: 20.5 kB / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.01182, allocations: 0 / 282.6 MB, free: 7.395 MB / 266.7 MB Notification: Performance of Templates: time 0.005829/0.01765, allocations: 3.04 MB / 285.6 MB, free: 4.402 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.948040929157287]