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.001398/0.001398, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001304/0.001304, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2954, allocations: 50.54 MB / 408.7 MB, free: 1.543 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003143/0.2986, allocations: 1.426 MB / 410.2 MB, free: 116 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001915/0.2988, allocations: 31.91 kB / 410.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.335e-05/0.2989, allocations: 0 / 410.2 MB, free: 84 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.2989, allocations: 3.938 kB / 410.2 MB, free: 80 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.111e-05/0.299, allocations: 3.938 kB / 410.2 MB, free: 76 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000248/0.2993, allocations: 27.61 kB / 410.2 MB, free: 52 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.073e-05/0.2994, allocations: 31.91 kB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.2995, allocations: 8 kB / 410.3 MB, free: 12 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.172e-05/0.2995, allocations: 11.92 kB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.575e-05/0.2996, allocations: 12.06 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.606e-05/0.2996, allocations: 0 / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.369e-05/0.2996, allocations: 4 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.274e-05/0.2997, allocations: 7.984 kB / 410.3 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.2997, allocations: 15.92 kB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000109/0.2998, allocations: 35.84 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2998, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2998, allocations: 0 / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.2998, allocations: 0 / 410.4 MB, free: 15.92 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.0004181/0.3003, allocations: 341 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.3003, allocations: 8.031 kB / 410.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.3004, allocations: 34.75 kB / 410.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.661e-05/0.3004, allocations: 12.86 kB / 410.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002237/0.3006, allocations: 184.2 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.3006, allocations: 4.375 kB / 410.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.3007, allocations: 8.375 kB / 410.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003363/0.301, allocations: 111.8 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.301, allocations: 3.938 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.106e-06/0.301, allocations: 4 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3011, allocations: 0 / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3012, allocations: 15.98 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001388/0.3013, allocations: 165.7 kB / 411.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.3014, allocations: 46.5 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.064e-05/0.3015, allocations: 28.92 kB / 411.3 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.3015, allocations: 3.984 kB / 411.3 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.579e-05/0.3016, allocations: 30.56 kB / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.61e-07/0.3016, allocations: 0 / 411.3 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000262/0.3019, allocations: 81.59 kB / 411.4 MB, free: 14.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3019, allocations: 55.41 kB / 411.5 MB, free: 14.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/0.302, allocations: 109.7 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.302, allocations: 25.7 kB / 411.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.056e-05/0.3021, allocations: 88.14 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.3021, allocations: 3.938 kB / 411.7 MB, free: 14.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.171e-05/0.3021, allocations: 17.72 kB / 411.7 MB, free: 14.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.3022, allocations: 314.8 kB / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.556e-05/0.3022, allocations: 12 kB / 412 MB, free: 14.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.66e-05/0.3023, allocations: 23.69 kB / 412.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.3023, allocations: 39.48 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.3023, allocations: 8 kB / 412.1 MB, free: 13.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.803e-05/0.3024, allocations: 57.64 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3025, allocations: 15.06 kB / 412.2 MB, free: 13.85 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3025, allocations: 3.984 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.3025, allocations: 0 / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.149e-05/0.3025, allocations: 4 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3026, allocations: 3.938 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2e-05/0.3026, allocations: 4 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-06/0.3026, allocations: 128 / 412.2 MB, free: 13.83 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 8.354e-05/0.3027, allocations: 121.8 kB / 412.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.3028, allocations: 69.52 kB / 412.4 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.3029, allocations: 3.5 kB / 412.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3029, allocations: 7.938 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3029, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3029, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.75e-05/0.303, allocations: 157.7 kB / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.303, allocations: 0 / 412.5 MB, free: 13.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.683e-05/0.3031, allocations: 7.938 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.3031, allocations: 7.938 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3031, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3031, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3031, allocations: 0 / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.3033, allocations: 89.09 kB / 412.6 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.3033, allocations: 81.02 kB / 412.7 MB, free: 13.19 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.877e-05/0.3033, allocations: 7.938 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.3034, allocations: 4 kB / 412.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.535e-06/0.3034, allocations: 7.938 kB / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.3034, allocations: 0 / 412.7 MB, free: 13.17 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.3034, allocations: 83.27 kB / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3034, allocations: 0 / 412.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001943/0.3036, allocations: 8 kB / 412.8 MB, free: 13.08 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.0005106/0.3041, allocations: 0.6475 MB / 413.5 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.3043, allocations: 28.25 kB / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.3043, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.3043, allocations: 0 / 413.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.3046, allocations: 24.16 kB / 413.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.3059, allocations: 1.174 MB / 414.7 MB, free: 11.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.3062, allocations: 0.6768 MB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.666e-05/0.3062, allocations: 4 kB / 415.4 MB, free: 10.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.3062, allocations: 7.531 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3063, allocations: 3.938 kB / 415.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01846/0.3247, allocations: 1.31 MB / 416.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.827, allocations: 7.797 kB / 416.7 MB, free: 9.172 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.0.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