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.001273/0.001273, allocations: 110.6 kB / 17.06 MB, free: 5.969 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.00115/0.00115, allocations: 194.9 kB / 18.01 MB, free: 5.051 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 47.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.2634, allocations: 49.44 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003216/0.2666, allocations: 1.506 MB / 401.7 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004646/0.2671, allocations: 139 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.411e-05/0.2672, allocations: 1.219 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.2673, allocations: 4.875 kB / 401.9 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001354/0.2674, allocations: 9.875 kB / 401.9 MB, free: 7.125 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.2677, allocations: 41.39 kB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001031/0.2678, allocations: 27.92 kB / 402 MB, free: 7.062 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.2679, allocations: 8 kB / 402 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.2679, allocations: 19.92 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.978e-05/0.268, allocations: 15.88 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.268, allocations: 4 kB / 402 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.073e-05/0.268, allocations: 4 kB / 402 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.845e-05/0.2681, allocations: 11.98 kB / 402 MB, free: 7 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.626e-05/0.2681, allocations: 23.8 kB / 402 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.2682, allocations: 38.92 kB / 402.1 MB, free: 6.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2682, allocations: 7.984 kB / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2682, allocations: 0 / 402.1 MB, free: 6.934 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.71e-06/0.2682, allocations: 0 / 402.1 MB, free: 6.934 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.0004222/0.2687, allocations: 367.1 kB / 402.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.2687, allocations: 19.95 kB / 402.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.333e-05/0.2688, allocations: 38.69 kB / 402.5 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.909e-05/0.2688, allocations: 8.891 kB / 402.5 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002429/0.269, allocations: 192.2 kB / 402.7 MB, free: 6.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/0.2691, allocations: 4.375 kB / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.2691, allocations: 384 / 402.7 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002817/0.2694, allocations: 109.6 kB / 402.8 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.2694, allocations: 7.875 kB / 402.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.077e-05/0.2694, allocations: 4 kB / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.2694, allocations: 0 / 402.8 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.577e-05/0.2695, allocations: 15.98 kB / 402.8 MB, free: 6.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.2698, allocations: 265.8 kB / 403.1 MB, free: 5.754 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.27, allocations: 134.2 kB / 403.2 MB, free: 5.586 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.2701, allocations: 29.78 kB / 403.3 MB, free: 5.551 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.2701, allocations: 3.984 kB / 403.3 MB, free: 5.547 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.2701, allocations: 34.56 kB / 403.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 3.356e-06/0.2701, allocations: 0 / 403.3 MB, free: 5.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002235/0.2703, allocations: 69.58 kB / 403.4 MB, free: 5.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.2704, allocations: 85.05 kB / 403.5 MB, free: 5.328 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.2705, allocations: 133.8 kB / 403.6 MB, free: 5.188 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.2706, allocations: 25.7 kB / 403.6 MB, free: 5.156 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.425e-05/0.2706, allocations: 92.22 kB / 403.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.2706, allocations: 0 / 403.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.2707, allocations: 21.72 kB / 403.7 MB, free: 5.035 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.2708, allocations: 314.8 kB / 404 MB, free: 4.719 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.02e-05/0.2708, allocations: 8 kB / 404 MB, free: 4.711 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.845e-05/0.2709, allocations: 31.61 kB / 404.1 MB, free: 4.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.364e-05/0.2709, allocations: 39.38 kB / 404.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2709, allocations: 3.938 kB / 404.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.2711, allocations: 65.58 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2711, allocations: 4.125 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.925e-06/0.2711, allocations: 8 kB / 404.2 MB, free: 4.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.2711, allocations: 8.016 kB / 404.2 MB, free: 4.523 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.433e-05/0.2711, allocations: 7.922 kB / 404.2 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.2711, allocations: 7.984 kB / 404.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.066e-05/0.2712, allocations: 0 / 404.2 MB, free: 4.508 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.834e-06/0.2712, allocations: 4 kB / 404.2 MB, free: 4.504 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 8.549e-05/0.2713, allocations: 129.7 kB / 404.3 MB, free: 4.367 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.96e-05/0.2714, allocations: 49.64 kB / 404.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.283e-05/0.2714, allocations: 15.91 kB / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.2714, allocations: 0 / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2714, allocations: 0 / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.2714, allocations: 3.984 kB / 404.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001717/0.2716, allocations: 165.6 kB / 404.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2716, allocations: 0 / 404.6 MB, free: 4.074 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.2716, allocations: 11.92 kB / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2716, allocations: 0 / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.2716, allocations: 0 / 404.6 MB, free: 4.062 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.2716, allocations: 4 kB / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.2717, allocations: 0 / 404.6 MB, free: 4.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001818/0.2718, allocations: 164.3 kB / 404.7 MB, free: 3.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.23e-05/0.2719, allocations: 85.09 kB / 404.8 MB, free: 3.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.272, allocations: 4 kB / 404.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.634e-05/0.272, allocations: 4 kB / 404.8 MB, free: 3.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.927e-05/0.2721, allocations: 3.984 kB / 404.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-06/0.2721, allocations: 0 / 404.8 MB, free: 3.766 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.637e-05/0.2721, allocations: 110.6 kB / 404.9 MB, free: 3.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2721, allocations: 3.938 kB / 404.9 MB, free: 3.656 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000224/0.2724, allocations: 4 kB / 405 MB, free: 3.652 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.0004222/0.2728, allocations: 0.7014 MB / 405.7 MB, free: 2.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001152/0.2729, allocations: 31.92 kB / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.2729, allocations: 0 / 405.7 MB, free: 2.891 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.427e-05/0.273, allocations: 4 kB / 405.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.2733, allocations: 23.95 kB / 405.7 MB, free: 2.863 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.2744, allocations: 1.305 MB / 407 MB, free: 1.457 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002644/0.2747, allocations: 0.6922 MB / 407.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 1.992e-05/0.2747, allocations: 0 / 407.7 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.996e-05/0.2748, allocations: 15.44 kB / 407.7 MB, free: 0.7227 MB / 318.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2748, allocations: 4 kB / 407.7 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01731/0.2921, allocations: 1.47 MB / 409.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.03, allocations: 4.688 kB / 409.2 MB, free: 15.35 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