Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",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.001231/0.001231, allocations: 107.9 kB / 17.06 MB, free: 6.004 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.001277/0.001277, allocations: 189.4 kB / 18 MB, free: 5.09 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.384/1.384, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 51.91 kB / 350.8 MB, free: 3.762 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2532, allocations: 49.44 MB / 400.2 MB, free: 8.414 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002621/0.2558, allocations: 1.51 MB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003621/0.2562, allocations: 139.4 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.2563, allocations: 1.031 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.318e-05/0.2563, allocations: 3.938 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.2565, allocations: 6.188 kB / 401.9 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.2567, allocations: 41.08 kB / 401.9 MB, free: 7.102 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.2568, allocations: 28.83 kB / 402 MB, free: 7.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.928e-05/0.2569, allocations: 22.73 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.763e-05/0.2569, allocations: 7.375 kB / 402 MB, free: 7.066 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.486e-05/0.257, allocations: 21.08 kB / 402 MB, free: 7.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.257, allocations: 4 kB / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.257, allocations: 0 / 402 MB, free: 7.043 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.2571, allocations: 11.98 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.2571, allocations: 27.8 kB / 402 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.2572, allocations: 38.92 kB / 402.1 MB, free: 6.969 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.2572, allocations: 4 kB / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2572, allocations: 0 / 402.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.2572, allocations: 0 / 402.1 MB, free: 6.965 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.00046/0.2577, allocations: 375.1 kB / 402.5 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2577, allocations: 11.97 kB / 402.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.142e-05/0.2578, allocations: 34.75 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.854e-05/0.2578, allocations: 8.891 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.2581, allocations: 192.2 kB / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.2581, allocations: 384 / 402.7 MB, free: 6.258 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.229e-05/0.2581, allocations: 8.375 kB / 402.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002566/0.2584, allocations: 121.5 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2584, allocations: 3.938 kB / 402.8 MB, free: 6.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.476e-06/0.2584, allocations: 3.984 kB / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.2584, allocations: 0 / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.527e-05/0.2585, allocations: 12 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003289/0.2588, allocations: 261.8 kB / 403.1 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.259, allocations: 142.2 kB / 403.2 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.449e-05/0.2591, allocations: 25.77 kB / 403.3 MB, free: 5.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.636e-05/0.2591, allocations: 8 kB / 403.3 MB, free: 5.57 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.2591, allocations: 34.5 kB / 403.3 MB, free: 5.527 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.2591, allocations: 3.938 kB / 403.3 MB, free: 5.523 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002263/0.2594, allocations: 69.62 kB / 403.4 MB, free: 5.449 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.585e-05/0.2595, allocations: 81.05 kB / 403.5 MB, free: 5.352 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.2596, allocations: 129.8 kB / 403.6 MB, free: 5.215 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.2596, allocations: 33.83 kB / 403.6 MB, free: 5.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.123e-05/0.2597, allocations: 88.09 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-06/0.2597, allocations: 0 / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.921e-05/0.2598, allocations: 21.7 kB / 403.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.2599, allocations: 318.8 kB / 404 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.141e-05/0.26, allocations: 4 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.594e-05/0.26, allocations: 31.42 kB / 404.1 MB, free: 4.691 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.306e-05/0.2601, allocations: 43.38 kB / 404.1 MB, free: 4.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2601, allocations: 7.922 kB / 404.1 MB, free: 4.629 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001192/0.2602, allocations: 61.7 kB / 404.2 MB, free: 4.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.2603, allocations: 8 kB / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.2603, allocations: 0 / 404.2 MB, free: 4.555 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.2603, allocations: 7.938 kB / 404.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.347e-05/0.2603, allocations: 3.938 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.2603, allocations: 0 / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.908e-05/0.2603, allocations: 4 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-06/0.2604, allocations: 0 / 404.2 MB, free: 4.539 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: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * 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 9.193e-05/0.2605, allocations: 129.8 kB / 404.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.2605, allocations: 45.66 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.2606, allocations: 15.89 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.2606, allocations: 4 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/0.2606, allocations: 0 / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.2606, allocations: 0 / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001832/0.2608, allocations: 169.6 kB / 404.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2608, allocations: 7.938 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.057e-06/0.2608, allocations: 4 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2608, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.102e-06/0.2608, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2608, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.2608, allocations: 8 kB / 404.6 MB, free: 4.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.261, allocations: 164.6 kB / 404.7 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.909e-05/0.2611, allocations: 93.09 kB / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.19e-05/0.2611, allocations: 0 / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.2612, allocations: 0 / 404.8 MB, free: 3.801 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.854e-05/0.2612, allocations: 4 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.2612, allocations: 3.938 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.068e-05/0.2613, allocations: 106.5 kB / 404.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2613, allocations: 0 / 404.9 MB, free: 3.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002217/0.2615, allocations: 11.94 kB / 405 MB, free: 3.68 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: 4 (step.y,assignClock.u,assignClock.y,sample1.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.0004597/0.262, allocations: 0.7053 MB / 405.7 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.2621, allocations: 27.92 kB / 405.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.2621, allocations: 0 / 405.7 MB, free: 2.918 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.2621, allocations: 4 kB / 405.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003028/0.2625, allocations: 23.95 kB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.2637, allocations: 1.307 MB / 407 MB, free: 1.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003114/0.264, allocations: 0.6922 MB / 407.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.751e-05/0.264, allocations: 0 / 407.7 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.2641, allocations: 23.42 kB / 407.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2641, allocations: 0 / 407.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02222/0.2863, allocations: 1.456 MB / 409.2 MB, free: 15.39 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.858/8.145, allocations: 0.625 kB / 409.2 MB, free: 15.39 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_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_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "Error: Could not read variable sample1.y in file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv failed! " Variables in the reference:time,assignClock.y,sample1.y Variables in the result:time,step.startTime,periodicClock.factor,periodicClock.resolution,assignClock.u,assignClock.y