Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001285/0.001285, allocations: 122.2 kB / 17.78 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00131/0.00131, allocations: 197.2 kB / 18.72 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.474/1.474, allocations: 227.4 MB / 247 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 63.89 kB / 358.3 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2794/0.2818, allocations: 50.56 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002785/0.2846, allocations: 1.425 MB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000191/0.2848, allocations: 27.92 kB / 410.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.2849, allocations: 0 / 410.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.163e-05/0.2849, allocations: 3.938 kB / 410.3 MB, free: 48 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.72e-05/0.285, allocations: 7.922 kB / 410.3 MB, free: 40 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002628/0.2853, allocations: 19.98 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2854, allocations: 27.98 kB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.2855, allocations: 19.91 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.285e-05/0.2855, allocations: 15.92 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.646e-05/0.2856, allocations: 11.94 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.2856, allocations: 7.938 kB / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.478e-06/0.2857, allocations: 0 / 410.4 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.2857, allocations: 7.984 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.323e-05/0.2857, allocations: 11.88 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001064/0.2858, allocations: 31.89 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2858, allocations: 0 / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2858, allocations: 0 / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.2859, allocations: 4 kB / 410.4 MB, free: 15.88 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000502/0.2864, allocations: 338.5 kB / 410.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.2864, allocations: 12.03 kB / 410.8 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.2865, allocations: 34.75 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.925e-05/0.2865, allocations: 4.938 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.2868, allocations: 184.2 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.2868, allocations: 384 / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.2868, allocations: 4.375 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003553/0.2872, allocations: 119.8 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2872, allocations: 3.938 kB / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.2872, allocations: 0 / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.2872, allocations: 0 / 411.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.2874, allocations: 19.98 kB / 411.1 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001835/0.2875, allocations: 157.7 kB / 411.3 MB, free: 14.87 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.2877, allocations: 50.56 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.252e-05/0.2878, allocations: 28.86 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.2878, allocations: 0 / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.2878, allocations: 34.56 kB / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.42e-07/0.2879, allocations: 0 / 411.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.00027/0.2881, allocations: 77.55 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.2882, allocations: 59.41 kB / 411.5 MB, free: 14.58 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.873e-05/0.2883, allocations: 109.8 kB / 411.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.2883, allocations: 25.7 kB / 411.7 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.681e-05/0.2884, allocations: 84.08 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.2884, allocations: 0 / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.411e-05/0.2885, allocations: 21.66 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.2886, allocations: 322.8 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.3e-05/0.2886, allocations: 0 / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.717e-05/0.2887, allocations: 35.44 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.099e-05/0.2887, allocations: 35.38 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2887, allocations: 0 / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.936e-05/0.2888, allocations: 61.67 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.471e-05/0.2889, allocations: 11.94 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.2889, allocations: 384 / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2889, allocations: 3.938 kB / 412.2 MB, free: 13.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.057e-05/0.289, allocations: 11.98 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.289, allocations: 8 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.875e-05/0.289, allocations: 3.938 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.289, allocations: 4 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.882e-05/0.2891, allocations: 113.8 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001505/0.2893, allocations: 65.81 kB / 412.4 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.478e-05/0.2893, allocations: 11.5 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.2893, allocations: 0 / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.2893, allocations: 0 / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2894, allocations: 0 / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.2895, allocations: 157.7 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2895, allocations: 0 / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.126e-05/0.2895, allocations: 4 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.2896, allocations: 3.938 kB / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.2896, allocations: 0 / 412.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2896, allocations: 3.938 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2896, allocations: 4 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000183/0.2898, allocations: 89.06 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.2898, allocations: 85.03 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.2899, allocations: 7.938 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.56e-05/0.2899, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.257e-06/0.2899, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2899, allocations: 0 / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.981e-05/0.29, allocations: 87.27 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.29, allocations: 8 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001873/0.2902, allocations: 4 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006038/0.2908, allocations: 0.6436 MB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001341/0.2909, allocations: 28.17 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.291, allocations: 4.062 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.291, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.2912, allocations: 24.02 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.2923, allocations: 1.17 MB / 414.8 MB, free: 11.05 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003235/0.2927, allocations: 0.6806 MB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.91e-05/0.2927, allocations: 4 kB / 415.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.2927, allocations: 11.44 kB / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2927, allocations: 0 / 415.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.314, allocations: 1.301 MB / 416.8 MB, free: 9.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.864/8.178, allocations: 10.23 kB / 416.8 MB, free: 9.148 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches