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.002659/0.002659, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.002978/0.002978, allocations: 160.8 kB / 24.27 MB, free: 156 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.68/1.68, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 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 1.563e-06/1.563e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.583e-05/2.739e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003619/0.003646, allocations: 1.947 MB / 274.1 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.006209, allocations: 1.192 MB / 275.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.006316, allocations: 7.938 kB / 275.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006286/0.006944, allocations: 155.4 kB / 275.5 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004501/0.007394, allocations: 163.3 kB / 275.6 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004783/0.007873, allocations: 187.2 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003061/0.008179, allocations: 199.4 kB / 276 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.008284, allocations: 25.78 kB / 276.1 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.008469, allocations: 111.7 kB / 276.2 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.008601, allocations: 63.8 kB / 276.2 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.21e-05/0.008633, allocations: 12 kB / 276.2 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.00879, allocations: 67.88 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.008873, allocations: 43.8 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.491e-05/0.008948, allocations: 39.84 kB / 276.4 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003706/0.009319, allocations: 223.2 kB / 276.6 MB, free: 13.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.009322, allocations: 4 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.009325, allocations: 3.984 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.00933, allocations: 0 / 276.6 MB, free: 13.37 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.0008532/0.01018, allocations: 0.5669 MB / 277.2 MB, free: 12.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.01022, allocations: 11.98 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.974e-05/0.0103, allocations: 28.8 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003968/0.0107, allocations: 223.7 kB / 277.4 MB, free: 12.48 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.876e-05/0.01071, allocations: 12.38 kB / 277.4 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.01073, allocations: 12.31 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003844/0.01112, allocations: 184.2 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.01113, allocations: 192 / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.01114, allocations: 4.375 kB / 277.6 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.01115, allocations: 3.938 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.01126, allocations: 35.92 kB / 277.7 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005979/0.01186, allocations: 390.7 kB / 278.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.01217, allocations: 168.4 kB / 278.2 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.01228, allocations: 62.73 kB / 278.3 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.171e-05/0.01231, allocations: 11.94 kB / 278.3 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001723/0.01248, allocations: 80.97 kB / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 1.392e-06/0.01249, allocations: 0 / 278.4 MB, free: 11.37 MB / 266.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004174/0.0129, allocations: 157.8 kB / 278.5 MB, free: 11.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.01302, allocations: 136.5 kB / 278.7 MB, free: 11.05 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004001/0.01342, allocations: 344.3 kB / 279 MB, free: 10.7 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.01344, allocations: 29.7 kB / 279 MB, free: 10.66 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001607/0.01361, allocations: 183.1 kB / 279.2 MB, free: 10.47 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.01364, allocations: 19.89 kB / 279.2 MB, free: 10.45 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.287e-05/0.0137, allocations: 31.38 kB / 279.3 MB, free: 10.41 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/0.01401, allocations: 0.5118 MB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.875e-05/0.01407, allocations: 20.06 kB / 279.8 MB, free: 9.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.01418, allocations: 72.75 kB / 279.9 MB, free: 9.781 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.01429, allocations: 63.33 kB / 279.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.0143, allocations: 0 / 279.9 MB, free: 9.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001905/0.01449, allocations: 93.47 kB / 280 MB, free: 9.613 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.0145, allocations: 4 kB / 280 MB, free: 9.609 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.01451, allocations: 4 kB / 280 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.01452, allocations: 0 / 280 MB, free: 9.605 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.999e-05/0.0146, allocations: 16.3 kB / 280 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.01461, allocations: 0 / 280 MB, free: 9.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.01467, allocations: 11.89 kB / 280.1 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.341e-05/0.01468, allocations: 8 kB / 280.1 MB, free: 9.57 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 0.0001558/0.01484, allocations: 172.6 kB / 280.2 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.01497, allocations: 89.36 kB / 280.3 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.01524, allocations: 107.6 kB / 280.4 MB, free: 9.18 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.01524, allocations: 3.938 kB / 280.4 MB, free: 9.176 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.01524, allocations: 4 kB / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01525, allocations: 0 / 280.4 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002482/0.01549, allocations: 200.6 kB / 280.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.0155, allocations: 0 / 280.6 MB, free: 8.941 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.01553, allocations: 7.984 kB / 280.6 MB, free: 8.934 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.677e-06/0.01554, allocations: 12.03 kB / 280.6 MB, free: 8.922 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.232e-05/0.01555, allocations: 4 kB / 280.6 MB, free: 8.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.01556, allocations: 7.938 kB / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01556, allocations: 0 / 280.7 MB, free: 8.91 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.01589, allocations: 195.3 kB / 280.8 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.603e-05/0.01598, allocations: 39.7 kB / 280.9 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.01601, allocations: 8 kB / 280.9 MB, free: 8.637 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.446e-05/0.01607, allocations: 4 kB / 280.9 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.01612, allocations: 7.984 kB / 280.9 MB, free: 8.625 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.01613, allocations: 8 kB / 280.9 MB, free: 8.617 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002466/0.01638, allocations: 237 kB / 281.1 MB, free: 8.387 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01638, allocations: 7.938 kB / 281.2 MB, free: 8.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002408/0.01662, allocations: 24 kB / 281.2 MB, free: 8.355 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.002938/0.01956, allocations: 443.5 kB / 281.6 MB, free: 8.066 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00023/0.01979, allocations: 63.61 kB / 281.7 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01979, allocations: 0 / 281.7 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.179e-05/0.01988, allocations: 35.67 kB / 281.7 MB, free: 7.961 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006895/0.02057, allocations: 88 kB / 281.8 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.02122, allocations: 348.8 kB / 282.1 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.02136, allocations: 123.6 kB / 282.3 MB, free: 7.359 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.497e-05/0.02144, allocations: 33.97 kB / 282.3 MB, free: 7.328 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.149e-05/0.02149, allocations: 16.5 kB / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.02149, allocations: 0 / 282.3 MB, free: 7.309 MB / 266.7 MB Notification: Performance of Templates: time 0.007508/0.029, allocations: 2.833 MB / 285.1 MB, free: 4.52 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","/var/lib/jenkins/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.677945520961657]