Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.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.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001381/0.00138, allocations: 106.5 kB / 17.06 MB, free: 6.016 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.001382/0.001382, allocations: 195 kB / 18 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.11/2.11, allocations: 222.9 MB / 241.7 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002098/0.002098, allocations: 51.91 kB / 350.8 MB, free: 3.773 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5129/0.5151, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.005139/0.5203, allocations: 1.409 MB / 401.6 MB, free: 7.324 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003364/0.5207, allocations: 26.47 kB / 401.7 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.441e-05/0.5208, allocations: 5.188 kB / 401.7 MB, free: 7.301 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 5.074e-05/0.5209, allocations: 3.938 kB / 401.7 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.975e-05/0.521, allocations: 5.219 kB / 401.7 MB, free: 7.293 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004004/0.5214, allocations: 22.78 kB / 401.7 MB, free: 7.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.5215, allocations: 27.11 kB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.5217, allocations: 12.58 kB / 401.7 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.5218, allocations: 15.27 kB / 401.8 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.419e-05/0.5219, allocations: 15.36 kB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.5219, allocations: 2.25 kB / 401.8 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.757e-05/0.522, allocations: 7.656 kB / 401.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.629e-05/0.522, allocations: 5.062 kB / 401.8 MB, free: 7.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.537e-05/0.5221, allocations: 14.33 kB / 401.8 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.5222, allocations: 34.58 kB / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.5223, allocations: 0 / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.5223, allocations: 0 / 401.8 MB, free: 7.184 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.256e-06/0.5223, allocations: 0 / 401.8 MB, free: 7.184 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006675/0.523, allocations: 342.5 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.5231, allocations: 10.38 kB / 402.2 MB, free: 6.812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.5231, allocations: 35.81 kB / 402.2 MB, free: 6.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.326e-05/0.5232, allocations: 7.156 kB / 402.2 MB, free: 6.766 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003992/0.5236, allocations: 184.3 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.5237, allocations: 384 / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.5237, allocations: 4.375 kB / 402.4 MB, free: 6.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.5243, allocations: 111.8 kB / 402.5 MB, free: 6.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5243, allocations: 3.938 kB / 402.5 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.5244, allocations: 8 kB / 402.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.5244, allocations: 0 / 402.5 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.5246, allocations: 23.97 kB / 402.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002205/0.5248, allocations: 153.7 kB / 402.7 MB, free: 6.188 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002719/0.5251, allocations: 50.55 kB / 402.8 MB, free: 6.129 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.5252, allocations: 28.91 kB / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.5253, allocations: 0 / 402.8 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.5253, allocations: 38.5 kB / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.5253, allocations: 0 / 402.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004875/0.5258, allocations: 73.61 kB / 402.9 MB, free: 5.973 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.099e-05/0.5259, allocations: 59.41 kB / 402.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.5261, allocations: 101.8 kB / 403 MB, free: 5.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.5261, allocations: 25.7 kB / 403.1 MB, free: 5.762 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.845e-05/0.5262, allocations: 84.14 kB / 403.2 MB, free: 5.676 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.5262, allocations: 11.83 kB / 403.2 MB, free: 5.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.386e-05/0.5263, allocations: 21.72 kB / 403.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5265, allocations: 314.8 kB / 403.5 MB, free: 5.32 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.859e-05/0.5265, allocations: 4 kB / 403.5 MB, free: 5.316 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.5267, allocations: 35.36 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.582e-05/0.5268, allocations: 39.38 kB / 403.6 MB, free: 5.219 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.5268, allocations: 3.938 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001641/0.527, allocations: 57.62 kB / 403.6 MB, free: 5.152 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.527, allocations: 7.938 kB / 403.6 MB, free: 5.145 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.527, allocations: 4 kB / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.5271, allocations: 0 / 403.6 MB, free: 5.141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.996e-05/0.5272, allocations: 4.375 kB / 403.6 MB, free: 5.137 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/0.5272, allocations: 4.125 kB / 403.7 MB, free: 5.133 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.091e-05/0.5273, allocations: 8 kB / 403.7 MB, free: 5.125 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.197e-05/0.5273, allocations: 4 kB / 403.7 MB, free: 5.121 MB / 318.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 0.0001394/0.5274, allocations: 117.8 kB / 403.8 MB, free: 4.996 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5277, allocations: 65.53 kB / 403.8 MB, free: 4.926 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.69e-05/0.5278, allocations: 7.484 kB / 403.8 MB, free: 4.914 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.5278, allocations: 4 kB / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/0.5278, allocations: 0 / 403.9 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.5278, allocations: 4 kB / 403.9 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.528, allocations: 153.7 kB / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.528, allocations: 0 / 404 MB, free: 4.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.757e-05/0.5281, allocations: 11.98 kB / 404 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.5281, allocations: 3.938 kB / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5282, allocations: 0 / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5282, allocations: 0 / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5282, allocations: 0 / 404 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003184/0.5285, allocations: 89.05 kB / 404.1 MB, free: 4.586 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.427e-05/0.5286, allocations: 85.02 kB / 404.2 MB, free: 4.484 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.277e-05/0.5287, allocations: 3.938 kB / 404.2 MB, free: 4.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.411e-05/0.5287, allocations: 11.92 kB / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.24e-06/0.5288, allocations: 0 / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.5288, allocations: 0 / 404.2 MB, free: 4.469 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.681e-05/0.5289, allocations: 83.28 kB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5289, allocations: 0 / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003825/0.5293, allocations: 4 kB / 404.3 MB, free: 4.383 MB / 318.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.0008823/0.5302, allocations: 0.6517 MB / 404.9 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002333/0.5304, allocations: 27.97 kB / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.5304, allocations: 0 / 405 MB, free: 3.672 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.5305, allocations: 3.984 kB / 405 MB, free: 3.668 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.5309, allocations: 27.91 kB / 405 MB, free: 3.641 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.5325, allocations: 1.162 MB / 406.2 MB, free: 2.379 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.5329, allocations: 0.6844 MB / 406.8 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.832e-05/0.5329, allocations: 3.938 kB / 406.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.077e-05/0.533, allocations: 18.3 kB / 406.9 MB, free: 1.648 MB / 318.1 MB Notification: Performance of SimCode: time 1.442e-06/0.533, allocations: 8 kB / 406.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04356/0.5766, allocations: 1.318 MB / 408.2 MB, free: 472 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.02, allocations: 8.562 kB / 408.2 MB, free: 464 kB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches