Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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 trunk/package.mo", uses=false) 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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001182/0.001182, allocations: 118.5 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 197.2 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 71.86 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2582, allocations: 50.53 MB / 408.7 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.003333/0.2616, allocations: 1.89 MB / 410.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001985/0.2636, allocations: 1.29 MB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2638, allocations: 4 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.2642, allocations: 83.64 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003677/0.2645, allocations: 127.4 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006929/0.2652, allocations: 226.9 kB / 412.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.2655, allocations: 183.5 kB / 412.5 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.2656, allocations: 37.55 kB / 412.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001112/0.2658, allocations: 75.69 kB / 412.7 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.2659, allocations: 79.62 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.165e-05/0.2659, allocations: 8 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001436/0.2661, allocations: 71.94 kB / 412.8 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.202e-05/0.2662, allocations: 47.84 kB / 412.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.982e-05/0.2663, allocations: 79.41 kB / 412.9 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003487/0.2666, allocations: 249.9 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.2666, allocations: 3.984 kB / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2666, allocations: 0 / 413.2 MB, free: 13.11 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.2666, allocations: 0 / 413.2 MB, free: 13.11 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007138/0.2674, allocations: 0.5387 MB / 413.7 MB, free: 12.51 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.2674, allocations: 8.031 kB / 413.7 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.297e-05/0.2675, allocations: 38.75 kB / 413.8 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/0.2675, allocations: 24.78 kB / 413.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004214/0.2679, allocations: 299.8 kB / 414.1 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.268, allocations: 8.375 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.007e-05/0.268, allocations: 7.938 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.2683, allocations: 159.6 kB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2683, allocations: 0 / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.2684, allocations: 0 / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2684, allocations: 0 / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2685, allocations: 47.89 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005574/0.2691, allocations: 390.3 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.2693, allocations: 123.8 kB / 414.8 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.896e-05/0.2694, allocations: 42.56 kB / 414.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.2695, allocations: 4 kB / 414.8 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001794/0.2696, allocations: 79.38 kB / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=9): time 1.724e-06/0.2697, allocations: 0 / 414.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003999/0.2701, allocations: 153.6 kB / 415.1 MB, free: 10.97 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.2702, allocations: 166.5 kB / 415.2 MB, free: 10.77 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003685/0.2706, allocations: 342.6 kB / 415.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.55e-05/0.2706, allocations: 25.7 kB / 415.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.2707, allocations: 136 kB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.501e-05/0.2707, allocations: 11.91 kB / 415.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.456e-05/0.2708, allocations: 29.7 kB / 415.8 MB, free: 10.21 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2709, allocations: 334.8 kB / 416.1 MB, free: 9.871 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.203e-05/0.271, allocations: 23.98 kB / 416.1 MB, free: 9.848 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.2711, allocations: 90.86 kB / 416.2 MB, free: 9.734 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.2713, allocations: 88.2 kB / 416.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2713, allocations: 4 kB / 416.3 MB, free: 9.629 MB / 334.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002397/0.2716, allocations: 121.5 kB / 416.4 MB, free: 9.504 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.2716, allocations: 8 kB / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.2716, allocations: 0 / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.2716, allocations: 0 / 416.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.2718, allocations: 23.92 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2718, allocations: 4 kB / 416.5 MB, free: 9.469 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.325e-05/0.2719, allocations: 16 kB / 416.5 MB, free: 9.453 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.2719, allocations: 4 kB / 416.5 MB, free: 9.449 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001452/0.2721, allocations: 157.8 kB / 416.6 MB, free: 9.285 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.561e-05/0.2722, allocations: 73.45 kB / 416.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.2722, allocations: 25.7 kB / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.2722, allocations: 4 kB / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.2722, allocations: 0 / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.2723, allocations: 8 kB / 416.7 MB, free: 9.168 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002248/0.2725, allocations: 241.6 kB / 417 MB, free: 8.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.2725, allocations: 4 kB / 417 MB, free: 8.879 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.947e-05/0.2726, allocations: 15.92 kB / 417 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.2726, allocations: 3.938 kB / 417 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2726, allocations: 8 kB / 417 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2726, allocations: 4.062 kB / 417 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2726, allocations: 0 / 417 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002956/0.2729, allocations: 174.5 kB / 417.2 MB, free: 8.652 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/0.2731, allocations: 109 kB / 417.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.2731, allocations: 11.98 kB / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.36e-05/0.2732, allocations: 0 / 417.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.2732, allocations: 15.92 kB / 417.3 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.2733, allocations: 4 kB / 417.3 MB, free: 8.496 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002396/0.2735, allocations: 245.9 kB / 417.6 MB, free: 8.258 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2735, allocations: 4 kB / 417.6 MB, free: 8.254 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.2738, allocations: 35.92 kB / 417.6 MB, free: 8.219 MB / 334.1 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001436/0.2752, allocations: 1.011 MB / 418.6 MB, free: 7.316 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002331/0.2755, allocations: 75.84 kB / 418.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.2755, allocations: 0 / 418.7 MB, free: 7.242 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.185e-05/0.2756, allocations: 27.98 kB / 418.7 MB, free: 7.215 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.276, allocations: 86.39 kB / 418.8 MB, free: 7.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.2787, allocations: 2.228 MB / 421 MB, free: 4.777 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003481/0.2791, allocations: 0.7358 MB / 421.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001109/0.2792, allocations: 29.53 kB / 421.8 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.2793, allocations: 55.42 kB / 421.8 MB, free: 3.934 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2794, allocations: 4 kB / 421.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.3006, allocations: 5.306 MB / 427.1 MB, free: 14.75 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.817/8.118, allocations: 0 / 427.1 MB, free: 14.75 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches