Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 113.2 kB / 17.07 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002418/0.002418, allocations: 193.4 kB / 18 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 51.92 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2511, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.003589/0.2548, allocations: 1.904 MB / 402.1 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.257, allocations: 1.165 MB / 403.3 MB, free: 5.727 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.2572, allocations: 7.938 kB / 403.3 MB, free: 5.719 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003459/0.2576, allocations: 59.67 kB / 403.4 MB, free: 5.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003423/0.258, allocations: 103.6 kB / 403.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008472/0.2588, allocations: 257.1 kB / 403.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003072/0.2592, allocations: 187.4 kB / 403.9 MB, free: 5.125 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2593, allocations: 29.55 kB / 403.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001377/0.2594, allocations: 79.69 kB / 404 MB, free: 5.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.2596, allocations: 87.55 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.004e-05/0.2596, allocations: 12 kB / 404.1 MB, free: 4.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001875/0.2598, allocations: 59.97 kB / 404.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.2599, allocations: 55.81 kB / 404.2 MB, free: 4.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001078/0.2601, allocations: 91.3 kB / 404.3 MB, free: 4.719 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004426/0.2605, allocations: 238 kB / 404.5 MB, free: 4.488 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2605, allocations: 4 kB / 404.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.2605, allocations: 0 / 404.5 MB, free: 4.484 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.2605, allocations: 0 / 404.5 MB, free: 4.484 MB / 318.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.0009169/0.2615, allocations: 0.5542 MB / 405.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.115e-05/0.2615, allocations: 8.031 kB / 405.1 MB, free: 3.867 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.2616, allocations: 42.69 kB / 405.1 MB, free: 3.816 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.13e-05/0.2617, allocations: 28.78 kB / 405.2 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004932/0.2622, allocations: 295.8 kB / 405.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.2622, allocations: 384 / 405.5 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.2622, allocations: 23.86 kB / 405.5 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.2627, allocations: 180.3 kB / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.2627, allocations: 0 / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/0.2627, allocations: 0 / 405.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.445e-05/0.2628, allocations: 7.984 kB / 405.7 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001431/0.2629, allocations: 39.92 kB / 405.7 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007425/0.2637, allocations: 395.2 kB / 406.1 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.264, allocations: 142.5 kB / 406.2 MB, free: 2.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.2641, allocations: 63.41 kB / 406.3 MB, free: 2.488 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.2642, allocations: 4 kB / 406.3 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002133/0.2644, allocations: 87.31 kB / 406.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.294e-06/0.2644, allocations: 0 / 406.4 MB, free: 2.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004977/0.2649, allocations: 173.4 kB / 406.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.2651, allocations: 183.9 kB / 406.7 MB, free: 1.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.2655, allocations: 338.6 kB / 407.1 MB, free: 1.648 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.2656, allocations: 25.7 kB / 407.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2657, allocations: 136.7 kB / 407.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.2657, allocations: 23.84 kB / 407.2 MB, free: 1.453 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.786e-05/0.2658, allocations: 33.7 kB / 407.3 MB, free: 1.414 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.266, allocations: 330.8 kB / 407.6 MB, free: 1.082 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.2661, allocations: 31.98 kB / 407.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.2663, allocations: 106.6 kB / 407.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001861/0.2665, allocations: 93.94 kB / 407.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2665, allocations: 8 kB / 407.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002909/0.2668, allocations: 137.3 kB / 408 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.2668, allocations: 11.98 kB / 408 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2668, allocations: 0 / 408 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2668, allocations: 8.031 kB / 408 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.267, allocations: 16 kB / 408 MB, free: 0.6211 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.267, allocations: 7.984 kB / 408 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.247e-05/0.2671, allocations: 23.95 kB / 408 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.2671, allocations: 8 kB / 408 MB, free: 0.582 MB / 318.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.0001657/0.2673, allocations: 150.3 kB / 408.2 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/0.2674, allocations: 81.48 kB / 408.3 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.337e-05/0.2675, allocations: 25.7 kB / 408.3 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.2675, allocations: 4.312 kB / 408.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.2675, allocations: 0 / 408.3 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2675, allocations: 16.02 kB / 408.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.2678, allocations: 245.5 kB / 408.6 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.2678, allocations: 0 / 408.6 MB, free: 4 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.832e-05/0.2679, allocations: 15.98 kB / 408.6 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.391e-06/0.268, allocations: 4 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.268, allocations: 0 / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.268, allocations: 4 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.268, allocations: 3.938 kB / 408.6 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003347/0.2683, allocations: 187.4 kB / 408.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.2685, allocations: 120.9 kB / 408.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.495e-05/0.2685, allocations: 0 / 408.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.573e-05/0.2686, allocations: 11.98 kB / 408.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.2687, allocations: 7.938 kB / 408.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.31e-05/0.2687, allocations: 7.984 kB / 408.9 MB, free: 15.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003082/0.269, allocations: 249.9 kB / 409.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.269, allocations: 0 / 409.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003162/0.2693, allocations: 39.92 kB / 409.2 MB, free: 15.32 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.002112/0.2714, allocations: 1.042 MB / 410.2 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002771/0.2717, allocations: 83.78 kB / 410.3 MB, free: 14.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.2717, allocations: 4 kB / 410.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.367e-05/0.2718, allocations: 27.98 kB / 410.4 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004591/0.2723, allocations: 80.2 kB / 410.4 MB, free: 14.21 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/0.2751, allocations: 2.282 MB / 412.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.2756, allocations: 0.7474 MB / 413.5 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001094/0.2757, allocations: 37.7 kB / 413.5 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.2758, allocations: 63.41 kB / 413.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2758, allocations: 0 / 413.6 MB, free: 10.91 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02947/0.3053, allocations: 5.578 MB / 419.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.257/8.562, allocations: 8.688 kB / 419.1 MB, free: 5.484 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_IntegerSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches