Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 118.5 kB / 18.46 MB, free: 4.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001411/0.001411, allocations: 215.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.399/1.399, allocations: 227.7 MB / 247.9 MB, free: 10.23 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 63.91 kB / 359.6 MB, free: 12.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2437, allocations: 50.55 MB / 410.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003386/0.2471, allocations: 1.933 MB / 412.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.2492, allocations: 1.321 MB / 413.4 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.2493, allocations: 4 kB / 413.5 MB, free: 14.21 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.2496, allocations: 67.61 kB / 413.5 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003254/0.2499, allocations: 139.4 kB / 413.7 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005883/0.2505, allocations: 230.8 kB / 413.9 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002465/0.2508, allocations: 187.5 kB / 414.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2509, allocations: 25.67 kB / 414.1 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.251, allocations: 83.62 kB / 414.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.2511, allocations: 87.61 kB / 414.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2511, allocations: 8 kB / 414.3 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.2513, allocations: 63.97 kB / 414.3 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.651e-05/0.2514, allocations: 63.69 kB / 414.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.718e-05/0.2515, allocations: 79.42 kB / 414.5 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.2518, allocations: 254.8 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.2518, allocations: 4 kB / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2518, allocations: 0 / 414.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.2518, allocations: 0 / 414.7 MB, free: 12.95 MB / 334.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.0009102/0.2527, allocations: 0.558 MB / 415.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2528, allocations: 12.03 kB / 415.3 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.45e-05/0.2528, allocations: 24.8 kB / 415.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/0.2533, allocations: 303.7 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2533, allocations: 8.375 kB / 415.6 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.2533, allocations: 8.125 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003654/0.2537, allocations: 183.4 kB / 415.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2537, allocations: 4 kB / 415.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.2537, allocations: 4 kB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.2537, allocations: 0 / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001179/0.2538, allocations: 39.92 kB / 415.9 MB, free: 11.7 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.2544, allocations: 403.1 kB / 416.2 MB, free: 11.24 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.2547, allocations: 138.5 kB / 416.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.2548, allocations: 59.42 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.2548, allocations: 0 / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.255, allocations: 87.25 kB / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.255, allocations: 0 / 416.5 MB, free: 10.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004111/0.2554, allocations: 177.3 kB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.2555, allocations: 179.9 kB / 416.9 MB, free: 10.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003872/0.2559, allocations: 347 kB / 417.2 MB, free: 10.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.292e-05/0.2559, allocations: 29.7 kB / 417.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.256, allocations: 128.4 kB / 417.4 MB, free: 9.984 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.494e-05/0.2561, allocations: 20.22 kB / 417.4 MB, free: 9.965 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.2561, allocations: 41.66 kB / 417.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.2563, allocations: 342.8 kB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.2563, allocations: 23.98 kB / 417.8 MB, free: 9.551 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.2565, allocations: 104.5 kB / 417.9 MB, free: 9.418 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001889/0.2567, allocations: 106.2 kB / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2567, allocations: 0 / 418 MB, free: 9.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002718/0.2569, allocations: 145.3 kB / 418.1 MB, free: 9.145 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.257, allocations: 7.984 kB / 418.1 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.257, allocations: 4 kB / 418.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.257, allocations: 0 / 418.1 MB, free: 9.133 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.2571, allocations: 20 kB / 418.2 MB, free: 9.113 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.2571, allocations: 3.984 kB / 418.2 MB, free: 9.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.469e-05/0.2572, allocations: 16 kB / 418.2 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2572, allocations: 12 kB / 418.2 MB, free: 9.082 MB / 334.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,table.y,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.0001555/0.2574, allocations: 157.8 kB / 418.3 MB, free: 8.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2575, allocations: 85.44 kB / 418.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.372e-05/0.2575, allocations: 25.73 kB / 418.5 MB, free: 8.805 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2575, allocations: 4 kB / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2575, allocations: 0 / 418.5 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.2575, allocations: 11.92 kB / 418.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.2578, allocations: 249.7 kB / 418.7 MB, free: 8.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.2578, allocations: 4 kB / 418.7 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/0.2579, allocations: 15.94 kB / 418.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.2579, allocations: 0 / 418.7 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.2579, allocations: 7.984 kB / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2579, allocations: 0 / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2579, allocations: 0 / 418.7 MB, free: 8.469 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000313/0.2582, allocations: 187.5 kB / 418.9 MB, free: 8.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2583, allocations: 128.8 kB / 419.1 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.151e-05/0.2584, allocations: 4 kB / 419.1 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.129e-05/0.2584, allocations: 4 kB / 419.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.2585, allocations: 11.92 kB / 419.1 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.2585, allocations: 15.94 kB / 419.1 MB, free: 8.078 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.2588, allocations: 253.9 kB / 419.3 MB, free: 7.828 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2588, allocations: 4 kB / 419.3 MB, free: 7.824 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.259, allocations: 32 kB / 419.4 MB, free: 7.793 MB / 334.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001472/0.2605, allocations: 430.3 kB / 419.8 MB, free: 7.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002753/0.2608, allocations: 83.84 kB / 419.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2608, allocations: 0 / 419.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.584e-05/0.2609, allocations: 32.36 kB / 419.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004318/0.2613, allocations: 79.09 kB / 420 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006364/0.2619, allocations: 390.7 kB / 420.4 MB, free: 6.914 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.2623, allocations: 0.7479 MB / 421.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.111e-05/0.2624, allocations: 29.52 kB / 421.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.62e-05/0.2625, allocations: 27.44 kB / 421.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2625, allocations: 0 / 421.2 MB, free: 6.086 MB / 334.1 MB Notification: Performance of Templates: time 0.007146/0.2696, allocations: 3.1 MB / 424.3 MB, free: 3.016 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches