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.001362/0.001362, allocations: 88.73 kB / 21.5 MB, free: 2.984 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.001603/0.001603, allocations: 164.2 kB / 24.91 MB, free: 8.723 MB / 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 0.9604/0.9604, allocations: 177 MB / 205.2 MB, free: 5.473 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.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 1.403e-06/1.403e-06, allocations: 0 / 273.4 MB, free: 1.199 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.692e-05/1.832e-05, allocations: 2.312 kB / 273.4 MB, free: 1.195 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003257/0.003275, allocations: 1.986 MB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001793/0.005068, allocations: 1.199 MB / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.005171, allocations: 0 / 276.6 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005406/0.005711, allocations: 159.4 kB / 276.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000325/0.006036, allocations: 155.3 kB / 276.9 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003993/0.006435, allocations: 175.3 kB / 277.1 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002452/0.006681, allocations: 191.4 kB / 277.3 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.948e-05/0.00677, allocations: 18.45 kB / 277.3 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001683/0.006938, allocations: 107.7 kB / 277.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001256/0.007064, allocations: 63.8 kB / 277.4 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.007088, allocations: 8 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.00725, allocations: 63.83 kB / 277.5 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.007315, allocations: 47.83 kB / 277.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.007367, allocations: 39.81 kB / 277.6 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002427/0.00761, allocations: 159.4 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.007612, allocations: 4 kB / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.007612, allocations: 0 / 277.8 MB, free: 12.82 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.056e-06/0.007616, allocations: 0 / 277.8 MB, free: 12.82 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004918/0.008107, allocations: 417.3 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.008137, allocations: 11.98 kB / 278.2 MB, free: 12.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.457e-05/0.008181, allocations: 20.92 kB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.008441, allocations: 213.5 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.008455, allocations: 4.375 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.00847, allocations: 12.38 kB / 278.4 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002021/0.008673, allocations: 121.2 kB / 278.5 MB, free: 11.96 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.008681, allocations: 4.125 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.008691, allocations: 4.375 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.008697, allocations: 3.938 kB / 278.6 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.008743, allocations: 22.75 kB / 278.6 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002868/0.00903, allocations: 203.5 kB / 278.8 MB, free: 11.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.009176, allocations: 134.5 kB / 278.9 MB, free: 11.54 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.96e-05/0.009216, allocations: 34.62 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.009233, allocations: 7.984 kB / 279 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.748e-05/0.00933, allocations: 70.09 kB / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.009332, allocations: 0 / 279 MB, free: 11.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0001597/0.009492, allocations: 81.78 kB / 279.1 MB, free: 11.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.028e-05/0.009542, allocations: 114.8 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000192/0.009734, allocations: 226.7 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.009753, allocations: 29.7 kB / 279.5 MB, free: 10.91 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.585e-05/0.009809, allocations: 104.5 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.009831, allocations: 15.89 kB / 279.6 MB, free: 10.79 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.009874, allocations: 25.7 kB / 279.6 MB, free: 10.76 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.009976, allocations: 330.8 kB / 279.9 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.337e-05/0.01, allocations: 14.81 kB / 279.9 MB, free: 10.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.01004, allocations: 48.28 kB / 280 MB, free: 10.35 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.123e-05/0.01009, allocations: 39.33 kB / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01009, allocations: 0 / 280 MB, free: 10.3 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.075e-05/0.01018, allocations: 64.5 kB / 280.1 MB, free: 10.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.0102, allocations: 11.94 kB / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.0102, allocations: 0 / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.01021, allocations: 0 / 280.1 MB, free: 10.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.01027, allocations: 15.92 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.816e-06/0.01028, allocations: 4 kB / 280.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.451e-05/0.01032, allocations: 7.953 kB / 280.1 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.01033, allocations: 0 / 280.1 MB, free: 10.19 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.962e-05/0.01041, allocations: 132.9 kB / 280.3 MB, free: 10.05 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.618e-05/0.01046, allocations: 57.56 kB / 280.3 MB, free: 9.988 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.01057, allocations: 67.61 kB / 280.4 MB, free: 9.914 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.476e-06/0.01057, allocations: 4 kB / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.01058, allocations: 0 / 280.4 MB, free: 9.91 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.01058, allocations: 3.984 kB / 280.4 MB, free: 9.906 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.0107, allocations: 109.8 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.0107, allocations: 0 / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.043e-05/0.01073, allocations: 11.94 kB / 280.5 MB, free: 9.77 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.01074, allocations: 4.062 kB / 280.5 MB, free: 9.766 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.01074, allocations: 3.984 kB / 280.5 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.01075, allocations: 7.938 kB / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01075, allocations: 80 / 280.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.01085, allocations: 104.5 kB / 280.6 MB, free: 9.625 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.274e-05/0.0109, allocations: 27.83 kB / 280.7 MB, free: 9.598 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.01093, allocations: 8 kB / 280.7 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.836e-05/0.01098, allocations: 7.938 kB / 280.7 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.682e-05/0.011, allocations: 3.984 kB / 280.7 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.01102, allocations: 8 kB / 280.7 MB, free: 9.57 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.603e-05/0.01111, allocations: 89.55 kB / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01111, allocations: 0 / 280.8 MB, free: 9.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002232/0.01134, allocations: 31.92 kB / 280.8 MB, free: 9.449 MB / 266.7 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.001424/0.01276, allocations: 0.4915 MB / 281.3 MB, free: 9.145 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001008/0.01286, allocations: 40.77 kB / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/0.01286, allocations: 0 / 281.3 MB, free: 9.102 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/0.0129, allocations: 20.84 kB / 281.4 MB, free: 9.078 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002611/0.01316, allocations: 81.08 kB / 281.4 MB, free: 8.996 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004194/0.01358, allocations: 300.4 kB / 281.7 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.964e-05/0.01363, allocations: 71.83 kB / 281.8 MB, free: 8.578 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.671e-05/0.01369, allocations: 25.62 kB / 281.8 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.01378, allocations: 83.34 kB / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01378, allocations: 192 / 281.9 MB, free: 8.469 MB / 266.7 MB Notification: Performance of Templates: time 0.005459/0.01924, allocations: 2.845 MB / 284.7 MB, free: 5.672 MB / 266.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.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.704752385150641]