Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",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.001398/0.001397, allocations: 106 kB / 17.06 MB, free: 6.125 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.001775/0.001775, allocations: 200 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 47.92 kB / 350.8 MB, free: 3.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3826, allocations: 49.43 MB / 400.2 MB, free: 8.395 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002654/0.3853, allocations: 1.424 MB / 401.7 MB, free: 7.285 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002791/0.3856, allocations: 93.59 kB / 401.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.3857, allocations: 1.344 kB / 401.7 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.943e-05/0.3857, allocations: 3.938 kB / 401.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.37e-05/0.3857, allocations: 3.938 kB / 401.8 MB, free: 7.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.386, allocations: 23.56 kB / 401.8 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.117e-05/0.3861, allocations: 25.64 kB / 401.8 MB, free: 7.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.3862, allocations: 9.406 kB / 401.8 MB, free: 7.172 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.03e-05/0.3862, allocations: 11.08 kB / 401.8 MB, free: 7.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.702e-05/0.3862, allocations: 11.12 kB / 401.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.825e-05/0.3863, allocations: 2.188 kB / 401.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.746e-06/0.3863, allocations: 2.125 kB / 401.8 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.115e-05/0.3863, allocations: 8.953 kB / 401.8 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.3863, allocations: 23.14 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 7.78e-05/0.3864, allocations: 26.28 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3864, allocations: 0 / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.3865, allocations: 1.094 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.3865, allocations: 3.938 kB / 401.9 MB, free: 7.105 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.0003633/0.3868, allocations: 336.1 kB / 402.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3869, allocations: 9.375 kB / 402.2 MB, free: 6.734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.412e-05/0.3869, allocations: 38.75 kB / 402.3 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.892e-05/0.387, allocations: 4.875 kB / 402.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/0.3872, allocations: 180.3 kB / 402.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.3872, allocations: 12.36 kB / 402.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.991e-06/0.3872, allocations: 384 / 402.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002421/0.3874, allocations: 95.88 kB / 402.6 MB, free: 6.352 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.3875, allocations: 3.938 kB / 402.6 MB, free: 6.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.054e-06/0.3875, allocations: 8 kB / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3875, allocations: 0 / 402.6 MB, free: 6.34 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.786e-05/0.3876, allocations: 19.92 kB / 402.6 MB, free: 6.32 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001394/0.3877, allocations: 153.7 kB / 402.7 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001171/0.3878, allocations: 46.55 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.82e-05/0.3879, allocations: 20.89 kB / 402.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.315e-05/0.3879, allocations: 0 / 402.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.3879, allocations: 46.59 kB / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.3879, allocations: 0 / 402.9 MB, free: 5.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001773/0.3881, allocations: 61.56 kB / 402.9 MB, free: 5.922 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.3882, allocations: 59.41 kB / 403 MB, free: 5.852 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.792e-05/0.3883, allocations: 101.8 kB / 403.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.3883, allocations: 25.7 kB / 403.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.394e-05/0.3883, allocations: 84.14 kB / 403.2 MB, free: 5.625 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.242e-06/0.3883, allocations: 7.938 kB / 403.2 MB, free: 5.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.3884, allocations: 21.7 kB / 403.2 MB, free: 5.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3885, allocations: 314.8 kB / 403.5 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.029e-05/0.3885, allocations: 4 kB / 403.5 MB, free: 5.27 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.574e-05/0.3885, allocations: 23.44 kB / 403.5 MB, free: 5.234 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.93e-05/0.3886, allocations: 39.36 kB / 403.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3886, allocations: 0 / 403.6 MB, free: 5.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.1e-05/0.3886, allocations: 57.48 kB / 403.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.3887, allocations: 11.94 kB / 403.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3887, allocations: 3.984 kB / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.3887, allocations: 0 / 403.7 MB, free: 5.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.804e-05/0.3887, allocations: 4 kB / 403.7 MB, free: 5.102 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-06/0.3887, allocations: 4.125 kB / 403.7 MB, free: 5.098 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.3888, allocations: 8 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.3888, allocations: 0 / 403.7 MB, free: 5.09 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.32e-05/0.3888, allocations: 109.8 kB / 403.8 MB, free: 4.973 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.3889, allocations: 61.84 kB / 403.8 MB, free: 4.906 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.389, allocations: 3.5 kB / 403.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.389, allocations: 48 / 403.8 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.389, allocations: 3.984 kB / 403.8 MB, free: 4.895 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.389, allocations: 3.984 kB / 403.8 MB, free: 4.891 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.997e-05/0.3891, allocations: 165.5 kB / 404 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.3891, allocations: 3.938 kB / 404 MB, free: 4.676 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.124e-05/0.3891, allocations: 4 kB / 404 MB, free: 4.672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3892, allocations: 3.938 kB / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3892, allocations: 0 / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3892, allocations: 0 / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.3892, allocations: 0 / 404 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.3893, allocations: 81.11 kB / 404.1 MB, free: 4.57 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.3893, allocations: 81.36 kB / 404.2 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.3894, allocations: 7.938 kB / 404.2 MB, free: 4.465 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.216e-05/0.3894, allocations: 8 kB / 404.2 MB, free: 4.457 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-06/0.3894, allocations: 3.938 kB / 404.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.3894, allocations: 0 / 404.2 MB, free: 4.453 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.761e-05/0.3895, allocations: 83.27 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of sort global known variables: time 7.925e-06/0.3895, allocations: 0 / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001839/0.3897, allocations: 11.94 kB / 404.3 MB, free: 4.359 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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0004274/0.3901, allocations: 0.6201 MB / 404.9 MB, free: 3.707 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3902, allocations: 23.92 kB / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3902, allocations: 0 / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.01e-07/0.3902, allocations: 0 / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.3904, allocations: 30.64 kB / 405 MB, free: 3.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.3915, allocations: 1.146 MB / 406.1 MB, free: 2.414 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.3917, allocations: 0.6844 MB / 406.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.534e-05/0.3917, allocations: 0 / 406.8 MB, free: 1.703 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.412e-05/0.3918, allocations: 11.44 kB / 406.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3918, allocations: 0 / 406.8 MB, free: 1.691 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.4122, allocations: 1.245 MB / 408.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.03/15.44, allocations: 4.688 kB / 408.1 MB, free: 0.5781 MB / 318.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches