Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001671/0.001671, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002027/0.002027, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2641, allocations: 50.55 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002732/0.2669, allocations: 1.498 MB / 410.3 MB, free: 32 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000379/0.2673, allocations: 131.6 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.26e-05/0.2674, allocations: 4 kB / 410.4 MB, free: 15.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.433e-05/0.2675, allocations: 7.922 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.2676, allocations: 7.938 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.2678, allocations: 35.91 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.2679, allocations: 23.92 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.123e-05/0.268, allocations: 15.98 kB / 410.5 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.672e-05/0.268, allocations: 7.938 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.009e-05/0.268, allocations: 11.92 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/0.2681, allocations: 4 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.777e-06/0.2681, allocations: 0 / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.341e-05/0.2681, allocations: 11.94 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.903e-05/0.2682, allocations: 19.88 kB / 410.6 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.2683, allocations: 46.91 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2683, allocations: 0 / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2683, allocations: 0 / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.281e-06/0.2683, allocations: 0 / 410.6 MB, free: 15.71 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004441/0.2687, allocations: 363.2 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.2688, allocations: 8.031 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.348e-05/0.2688, allocations: 34.69 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/0.2688, allocations: 8.891 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002368/0.2691, allocations: 196.2 kB / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.684e-05/0.2691, allocations: 384 / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.2691, allocations: 384 / 411.2 MB, free: 15.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.2693, allocations: 89.61 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2694, allocations: 3.938 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.663e-06/0.2694, allocations: 0 / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/0.2694, allocations: 8 kB / 411.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.861e-05/0.2694, allocations: 7.938 kB / 411.3 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.2698, allocations: 269.7 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.668e-05/0.2699, allocations: 41.16 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.2699, allocations: 21.78 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.2699, allocations: 3.938 kB / 411.6 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.27, allocations: 30.56 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.27, allocations: 0 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.2702, allocations: 61.56 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.2703, allocations: 85.36 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/0.2704, allocations: 129.8 kB / 411.9 MB, free: 14.14 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.2704, allocations: 25.7 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.943e-05/0.2705, allocations: 84.14 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.797e-06/0.2705, allocations: 3.953 kB / 412.1 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.2705, allocations: 17.72 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.2707, allocations: 318.8 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.64e-05/0.2707, allocations: 3.938 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.067e-05/0.2708, allocations: 21.72 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.2708, allocations: 25.64 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2708, allocations: 3.938 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.214e-05/0.2709, allocations: 49.69 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2709, allocations: 6.812 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.271, allocations: 4.125 kB / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.271, allocations: 0 / 412.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.245e-05/0.271, allocations: 3.938 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.271, allocations: 4 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.271, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.271, allocations: 0 / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.59e-05/0.2711, allocations: 121.8 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.519e-05/0.2712, allocations: 37.66 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.327e-05/0.2712, allocations: 19.52 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2712, allocations: 0 / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.2713, allocations: 0 / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.299e-06/0.2713, allocations: 3.984 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.2714, allocations: 165.6 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.2715, allocations: 4 kB / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.771e-06/0.2715, allocations: 0 / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.2715, allocations: 0 / 412.8 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.2715, allocations: 3.938 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2715, allocations: 0 / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.2715, allocations: 4 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000161/0.2717, allocations: 156.3 kB / 413 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.359e-05/0.2717, allocations: 89.05 kB / 413.1 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.2718, allocations: 3.938 kB / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.785e-05/0.2718, allocations: 11.98 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.2719, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/0.2719, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.2719, allocations: 110.5 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.272, allocations: 0 / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002151/0.2722, allocations: 8 kB / 413.2 MB, free: 12.71 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0004895/0.2727, allocations: 0.6898 MB / 413.9 MB, free: 11.99 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001106/0.2728, allocations: 15.94 kB / 413.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2728, allocations: 3.938 kB / 413.9 MB, free: 11.97 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.38e-05/0.2728, allocations: 4 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.2731, allocations: 20.02 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001239/0.2744, allocations: 1.252 MB / 415.2 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000372/0.2748, allocations: 0.6885 MB / 415.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.828e-05/0.2748, allocations: 0 / 415.9 MB, free: 9.887 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.2748, allocations: 11.44 kB / 415.9 MB, free: 9.875 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2749, allocations: 4 kB / 415.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.297, allocations: 1.369 MB / 417.3 MB, free: 8.637 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.979/8.277, allocations: 10.27 kB / 417.3 MB, free: 8.633 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_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_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y