Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001642/0.001642, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001627/0.001627, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 59.91 kB / 358.2 MB, free: 13.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3029, allocations: 50.54 MB / 408.7 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002692/0.3057, allocations: 1.436 MB / 410.2 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003182/0.306, allocations: 95.75 kB / 410.3 MB, free: 60 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.967e-05/0.3061, allocations: 3.938 kB / 410.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3062, allocations: 0 / 410.3 MB, free: 56 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 4.702e-05/0.3062, allocations: 11.92 kB / 410.3 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002784/0.3065, allocations: 19.92 kB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9e-05/0.3066, allocations: 23.92 kB / 410.3 MB, free: 0 / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000129/0.3067, allocations: 12.06 kB / 410.3 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.866e-05/0.3068, allocations: 11.94 kB / 410.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.364e-05/0.3068, allocations: 15.92 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3069, allocations: 0 / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.005e-05/0.3069, allocations: 4 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.208e-05/0.3069, allocations: 4 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.098e-05/0.3069, allocations: 19.78 kB / 410.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.3071, allocations: 19.91 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3071, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3071, allocations: 0 / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3071, allocations: 0 / 410.4 MB, free: 15.91 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.0004372/0.3075, allocations: 334.6 kB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.3076, allocations: 16.03 kB / 410.8 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.799e-05/0.3076, allocations: 34.73 kB / 410.8 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.642e-05/0.3077, allocations: 4.938 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002424/0.3079, allocations: 184.3 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3079, allocations: 384 / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.308, allocations: 4.375 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.3082, allocations: 115.8 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.3083, allocations: 3.938 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.626e-06/0.3083, allocations: 0 / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3083, allocations: 0 / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.041e-05/0.3084, allocations: 8 kB / 411.1 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001364/0.3085, allocations: 157.7 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3087, allocations: 50.56 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.124e-05/0.3087, allocations: 24.92 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.3087, allocations: 0 / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.3088, allocations: 38.5 kB / 411.4 MB, free: 14.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.193e-06/0.3088, allocations: 3.938 kB / 411.4 MB, free: 14.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002017/0.309, allocations: 65.77 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/0.309, allocations: 55.39 kB / 411.5 MB, free: 14.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.288e-05/0.3091, allocations: 105.9 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.3091, allocations: 25.7 kB / 411.6 MB, free: 14.49 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.3092, allocations: 84.14 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-06/0.3092, allocations: 3.984 kB / 411.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/0.3092, allocations: 17.66 kB / 411.7 MB, free: 14.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.3093, allocations: 318.8 kB / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.101e-05/0.3094, allocations: 0 / 412 MB, free: 14.06 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.362e-05/0.3094, allocations: 43.34 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.951e-05/0.3094, allocations: 31.38 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.3094, allocations: 0 / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/0.3095, allocations: 61.72 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3096, allocations: 7.938 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.3096, allocations: 0 / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.3096, allocations: 4 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.657e-05/0.3096, allocations: 4 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.3097, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.3097, allocations: 0 / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.3097, allocations: 4 kB / 412.2 MB, free: 13.88 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: 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 7.731e-05/0.3098, allocations: 117.7 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.3099, allocations: 61.61 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.228e-05/0.3099, allocations: 7.484 kB / 412.4 MB, free: 13.67 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.3099, allocations: 4 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3099, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.3099, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.977e-05/0.31, allocations: 153.7 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3101, allocations: 256 / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.662e-05/0.3101, allocations: 4 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.3101, allocations: 3.938 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.3101, allocations: 8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.3101, allocations: 3.984 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3101, allocations: 4 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001167/0.3102, allocations: 77.06 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.3103, allocations: 89 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.3103, allocations: 3.938 kB / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.3103, allocations: 0 / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-06/0.3103, allocations: 0 / 412.7 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.051e-06/0.3104, allocations: 3.984 kB / 412.7 MB, free: 13.23 MB / 334.1 MB Notification: Performance of sorting global known variables: time 3.473e-05/0.3104, allocations: 87.28 kB / 412.8 MB, free: 13.15 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3104, allocations: 4 kB / 412.8 MB, free: 13.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001896/0.3106, allocations: 3.938 kB / 412.8 MB, free: 13.14 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: 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.0003882/0.311, allocations: 0.6201 MB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001115/0.3111, allocations: 23.98 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3111, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.3111, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.3114, allocations: 26.11 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009644/0.3123, allocations: 1.151 MB / 414.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000238/0.3126, allocations: 0.6768 MB / 415.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.81e-05/0.3126, allocations: 7.984 kB / 415.3 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.829e-05/0.3127, allocations: 10.69 kB / 415.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of SimCode: time 1.031e-06/0.3127, allocations: 0 / 415.3 MB, free: 10.47 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.3289, allocations: 1.237 MB / 416.6 MB, free: 9.367 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.705, allocations: 7.922 kB / 416.6 MB, free: 9.359 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.csv","/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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches