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.000973/0.000973, allocations: 91.5 kB / 21.19 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.000943/0.000943, 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 0.92/0.92, allocations: 177 MB / 204.8 MB, free: 5.594 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 2.805e-06/2.805e-06, allocations: 0 / 272.9 MB, free: 1.473 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.733e-05/3.014e-05, allocations: 5.125 kB / 272.9 MB, free: 1.469 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.003874/0.003904, allocations: 1.959 MB / 274.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002364/0.006268, allocations: 1.184 MB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001839/0.006452, allocations: 7.938 kB / 276.1 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007709/0.007223, allocations: 159.3 kB / 276.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003324/0.007555, allocations: 159.3 kB / 276.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.00795, allocations: 179.3 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002303/0.00818, allocations: 187.5 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.008287, allocations: 17.8 kB / 276.7 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.008419, allocations: 103.7 kB / 276.8 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001006/0.00852, allocations: 67.8 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.008546, allocations: 12 kB / 276.9 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.008677, allocations: 63.88 kB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.104e-05/0.008748, allocations: 43.84 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.767e-05/0.008806, allocations: 39.8 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.009066, allocations: 155.4 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.00907, allocations: 3.984 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.009071, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.009081, allocations: 0 / 277.2 MB, free: 13.12 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.0006548/0.009736, allocations: 0.5439 MB / 277.8 MB, free: 12.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.009784, allocations: 15.98 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.686e-05/0.009851, allocations: 28.8 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.01014, allocations: 224.4 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.01016, allocations: 384 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.01018, allocations: 8.375 kB / 278 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002548/0.01043, allocations: 148.5 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.01045, allocations: 8.125 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.01046, allocations: 4.375 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01047, allocations: 3.938 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.01051, allocations: 19.98 kB / 278.2 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.01089, allocations: 347 kB / 278.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001391/0.01103, allocations: 113.3 kB / 278.7 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.975e-05/0.01108, allocations: 39.06 kB / 278.7 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.0111, allocations: 11.92 kB / 278.7 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001001/0.0112, allocations: 72.98 kB / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.0112, allocations: 0 / 278.8 MB, free: 11.35 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002217/0.01142, allocations: 121.5 kB / 278.9 MB, free: 11.23 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.658e-05/0.01148, allocations: 106.8 kB / 279 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.01167, allocations: 292.3 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/0.01169, allocations: 29.7 kB / 279.3 MB, free: 10.76 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.958e-05/0.01177, allocations: 170.8 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.01179, allocations: 15.89 kB / 279.5 MB, free: 10.57 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.565e-05/0.01184, allocations: 35.58 kB / 279.5 MB, free: 10.53 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.01198, allocations: 0.504 MB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.135e-05/0.01201, allocations: 4 kB / 280 MB, free: 10.01 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.174e-05/0.01207, allocations: 68.75 kB / 280.1 MB, free: 9.922 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.157e-05/0.01212, allocations: 39.62 kB / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.01212, allocations: 0 / 280.2 MB, free: 9.875 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001011/0.01222, allocations: 85.47 kB / 280.2 MB, free: 9.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.01224, allocations: 11.12 kB / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01224, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.01226, allocations: 0 / 280.2 MB, free: 9.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.01232, allocations: 16.05 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.01233, allocations: 4 kB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.159e-05/0.01236, allocations: 0 / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.01237, allocations: 4 kB / 280.3 MB, free: 9.754 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.689e-05/0.01244, allocations: 168.5 kB / 280.4 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.0125, allocations: 69.44 kB / 280.5 MB, free: 9.504 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001308/0.01263, allocations: 99.5 kB / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.01263, allocations: 0 / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.01263, allocations: 0 / 280.6 MB, free: 9.398 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.01264, allocations: 8.062 kB / 280.6 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.01276, allocations: 180.5 kB / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01276, allocations: 0 / 280.8 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.01278, allocations: 4 kB / 280.8 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01278, allocations: 7.938 kB / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.01279, allocations: 0 / 280.8 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.01279, allocations: 7.984 kB / 280.8 MB, free: 9.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01279, allocations: 3.938 kB / 280.8 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.01293, allocations: 163.8 kB / 281 MB, free: 8.965 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.413e-05/0.01298, allocations: 35.78 kB / 281 MB, free: 8.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.013, allocations: 8 kB / 281 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.911e-05/0.01303, allocations: 4.062 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.01307, allocations: 11.98 kB / 281 MB, free: 8.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.01308, allocations: 4 kB / 281 MB, free: 8.902 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.01319, allocations: 205.1 kB / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01319, allocations: 0 / 281.2 MB, free: 8.703 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001647/0.01336, allocations: 31.92 kB / 281.3 MB, free: 8.672 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.0007927/0.01415, allocations: 386.7 kB / 281.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001204/0.01427, allocations: 51.59 kB / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.01427, allocations: 0 / 281.7 MB, free: 8.348 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.01431, allocations: 23.62 kB / 281.7 MB, free: 8.32 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.01458, allocations: 73.64 kB / 281.8 MB, free: 8.25 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.015, allocations: 313.9 kB / 282.1 MB, free: 7.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.988e-05/0.01505, allocations: 75.77 kB / 282.2 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.0151, allocations: 21.62 kB / 282.2 MB, free: 7.789 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.01514, allocations: 20.5 kB / 282.2 MB, free: 7.77 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01514, allocations: 4 kB / 282.2 MB, free: 7.766 MB / 266.7 MB Notification: Performance of Templates: time 0.004427/0.01957, allocations: 2.622 MB / 284.8 MB, free: 5.176 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 -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.8650408759713173]