Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",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.001328/0.001328, allocations: 106.2 kB / 17.06 MB, free: 6.098 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.001327/0.001327, allocations: 200.1 kB / 18 MB, free: 5.168 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.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 47.92 kB / 350.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2408, allocations: 49.43 MB / 400.2 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002807/0.2437, allocations: 1.494 MB / 401.7 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004057/0.2441, allocations: 130.8 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.2442, allocations: 1.281 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.949e-05/0.2442, allocations: 7.922 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001126/0.2444, allocations: 6.156 kB / 401.9 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002368/0.2446, allocations: 42.59 kB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.2447, allocations: 26.17 kB / 401.9 MB, free: 7.074 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.717e-05/0.2448, allocations: 13.22 kB / 401.9 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.555e-05/0.2449, allocations: 10.69 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.276e-05/0.2449, allocations: 17.83 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.2449, allocations: 0 / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.156e-05/0.2449, allocations: 4 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.279e-05/0.245, allocations: 7.938 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.245, allocations: 19.88 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.2451, allocations: 42.91 kB / 402.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.2452, allocations: 0 / 402.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2452, allocations: 0 / 402.1 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.6e-06/0.2452, allocations: 0 / 402.1 MB, free: 6.973 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005006/0.2457, allocations: 363.2 kB / 402.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.2457, allocations: 12.03 kB / 402.4 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.883e-05/0.2458, allocations: 30.75 kB / 402.4 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/0.2458, allocations: 16.83 kB / 402.5 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002584/0.2461, allocations: 196.2 kB / 402.7 MB, free: 6.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.2461, allocations: 4.312 kB / 402.7 MB, free: 6.266 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.347e-05/0.2461, allocations: 4.375 kB / 402.7 MB, free: 6.262 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002251/0.2464, allocations: 89.61 kB / 402.8 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.2464, allocations: 3.938 kB / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.394e-06/0.2464, allocations: 0 / 402.8 MB, free: 6.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2464, allocations: 4 kB / 402.8 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/0.2465, allocations: 12 kB / 402.8 MB, free: 6.137 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.2468, allocations: 261.7 kB / 403 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.904e-05/0.2469, allocations: 41.16 kB / 403.1 MB, free: 5.77 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.601e-05/0.2469, allocations: 17.78 kB / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.247, allocations: 0 / 403.1 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.36e-05/0.247, allocations: 42.48 kB / 403.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.247, allocations: 0 / 403.1 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002/0.2472, allocations: 61.58 kB / 403.2 MB, free: 5.629 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.2473, allocations: 81.36 kB / 403.3 MB, free: 5.531 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.2474, allocations: 125.8 kB / 403.4 MB, free: 5.398 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.2474, allocations: 29.7 kB / 403.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.2475, allocations: 84.14 kB / 403.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.355e-06/0.2475, allocations: 0 / 403.5 MB, free: 5.277 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.563e-05/0.2475, allocations: 21.7 kB / 403.5 MB, free: 5.25 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.2477, allocations: 310.8 kB / 403.8 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.138e-05/0.2477, allocations: 4 kB / 403.8 MB, free: 4.934 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.037e-05/0.2477, allocations: 25.66 kB / 403.9 MB, free: 4.902 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.565e-05/0.2478, allocations: 25.64 kB / 403.9 MB, free: 4.871 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.2478, allocations: 3.938 kB / 403.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.246e-05/0.2479, allocations: 49.64 kB / 403.9 MB, free: 4.812 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2479, allocations: 4 kB / 403.9 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.248, allocations: 8.125 kB / 403.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.248, allocations: 0 / 403.9 MB, free: 4.801 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-05/0.248, allocations: 3.938 kB / 403.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.248, allocations: 0 / 403.9 MB, free: 4.797 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.526e-05/0.248, allocations: 4 kB / 403.9 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.15e-06/0.248, allocations: 0 / 403.9 MB, free: 4.793 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.639e-05/0.2481, allocations: 121.8 kB / 404.1 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.852e-05/0.2482, allocations: 41.66 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.2482, allocations: 3.531 kB / 404.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.2483, allocations: 8.031 kB / 404.1 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2483, allocations: 3.984 kB / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.2483, allocations: 0 / 404.1 MB, free: 4.598 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.2484, allocations: 165.6 kB / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-06/0.2485, allocations: 0 / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.601e-06/0.2485, allocations: 0 / 404.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.2485, allocations: 7.938 kB / 404.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-06/0.2485, allocations: 4 kB / 404.3 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.84e-06/0.2485, allocations: 3.984 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2485, allocations: 3.938 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.2487, allocations: 160.3 kB / 404.5 MB, free: 4.191 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.157e-05/0.2487, allocations: 85.11 kB / 404.5 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.2488, allocations: 3.984 kB / 404.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.101e-05/0.2488, allocations: 0 / 404.5 MB, free: 4.086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.2488, allocations: 4 kB / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-06/0.2489, allocations: 0 / 404.6 MB, free: 4.082 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.605e-05/0.2489, allocations: 113.9 kB / 404.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2489, allocations: 0 / 404.7 MB, free: 3.973 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002082/0.2492, allocations: 0 / 404.7 MB, free: 3.973 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005044/0.2497, allocations: 0.7014 MB / 405.4 MB, free: 3.242 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001219/0.2498, allocations: 12 kB / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.2498, allocations: 0 / 405.4 MB, free: 3.23 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 3.17e-05/0.2498, allocations: 19.86 kB / 405.4 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2502, allocations: 10.69 kB / 405.4 MB, free: 3.203 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2514, allocations: 1.245 MB / 406.7 MB, free: 1.867 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003197/0.2517, allocations: 0.6922 MB / 407.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.153e-05/0.2517, allocations: 0 / 407.3 MB, free: 1.148 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.944e-05/0.2518, allocations: 11.44 kB / 407.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2518, allocations: 0 / 407.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02168/0.2735, allocations: 1.376 MB / 408.7 MB, free: 15.9 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.235, allocations: 7.688 kB / 408.7 MB, free: 15.9 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8e-05 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,sample1.u,sample1.y