Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001308/0.001309, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001433/0.001432, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.402/1.402, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.91 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2835, allocations: 50.54 MB / 408.7 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003137/0.2867, allocations: 1.522 MB / 410.3 MB, free: 148 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004917/0.2872, allocations: 131.6 kB / 410.4 MB, free: 16 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.2874, allocations: 4 kB / 410.4 MB, free: 12 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.101e-05/0.2875, allocations: 7.922 kB / 410.4 MB, free: 4 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.2877, allocations: 3.938 kB / 410.4 MB, free: 0 / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003612/0.288, allocations: 39.91 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.2882, allocations: 31.91 kB / 410.5 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2883, allocations: 16 kB / 410.5 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.858e-05/0.2884, allocations: 19.91 kB / 410.5 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.477e-05/0.2884, allocations: 11.88 kB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.2884, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.2884, allocations: 4 kB / 410.5 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.2885, allocations: 11.98 kB / 410.5 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.2885, allocations: 19.81 kB / 410.6 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001651/0.2887, allocations: 46.91 kB / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.2887, allocations: 0 / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.2887, allocations: 0 / 410.6 MB, free: 15.8 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.2888, allocations: 0 / 410.6 MB, free: 15.8 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005229/0.2893, allocations: 375 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2893, allocations: 12.03 kB / 411 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.1e-05/0.2894, allocations: 38.73 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.668e-05/0.2894, allocations: 8.891 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.2897, allocations: 176.3 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.524e-05/0.2897, allocations: 8.375 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.2898, allocations: 4.375 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.2901, allocations: 121.5 kB / 411.3 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.2901, allocations: 7.938 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.2901, allocations: 0 / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/0.2901, allocations: 0 / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.178e-05/0.2902, allocations: 15.98 kB / 411.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003531/0.2905, allocations: 269.7 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001742/0.2907, allocations: 134.2 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.2908, allocations: 29.78 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.2908, allocations: 4 kB / 411.8 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.395e-05/0.2908, allocations: 38.5 kB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.2909, allocations: 0 / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000235/0.2911, allocations: 69.62 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.2912, allocations: 85.05 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.2913, allocations: 129.8 kB / 412.1 MB, free: 14.05 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.301e-05/0.2913, allocations: 29.83 kB / 412.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2914, allocations: 84.12 kB / 412.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.2914, allocations: 8 kB / 412.2 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.2914, allocations: 21.67 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2916, allocations: 310.8 kB / 412.5 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.524e-05/0.2916, allocations: 7.984 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.135e-05/0.2917, allocations: 31.44 kB / 412.6 MB, free: 13.53 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.151e-05/0.2918, allocations: 43.36 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2918, allocations: 3.938 kB / 412.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001173/0.2919, allocations: 62 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2919, allocations: 11.94 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2919, allocations: 0 / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.2919, allocations: 0 / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.653e-05/0.292, allocations: 7.938 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.292, allocations: 3.984 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.591e-05/0.292, allocations: 4 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.636e-05/0.292, allocations: 7.984 kB / 412.7 MB, free: 13.37 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: 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 0.0001129/0.2922, allocations: 125.7 kB / 412.9 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.2923, allocations: 53.67 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.113e-05/0.2923, allocations: 7.906 kB / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2923, allocations: 0 / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.2923, allocations: 0 / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.2923, allocations: 0 / 412.9 MB, free: 13.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.2925, allocations: 181.5 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.2925, allocations: 0 / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-06/0.2926, allocations: 0 / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2926, allocations: 0 / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.2926, allocations: 4 kB / 413.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.2926, allocations: 3.984 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2926, allocations: 4 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001989/0.2928, allocations: 164.3 kB / 413.3 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/0.2929, allocations: 89.05 kB / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.2929, allocations: 0 / 413.3 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.481e-05/0.293, allocations: 4 kB / 413.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.801e-05/0.293, allocations: 7.938 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.293, allocations: 11.98 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.635e-05/0.2931, allocations: 102.5 kB / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2931, allocations: 0 / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002315/0.2933, allocations: 8 kB / 413.5 MB, free: 12.5 MB / 334.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.0004474/0.2938, allocations: 0.6976 MB / 414.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001283/0.2939, allocations: 27.92 kB / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2939, allocations: 0 / 414.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.679e-05/0.294, allocations: 8 kB / 414.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.2943, allocations: 27.94 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.2955, allocations: 1.302 MB / 415.5 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002648/0.2958, allocations: 0.6885 MB / 416.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.177e-05/0.2958, allocations: 0 / 416.2 MB, free: 9.598 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.049e-05/0.2959, allocations: 19.44 kB / 416.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2959, allocations: 0 / 416.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01795/0.3138, allocations: 1.465 MB / 417.7 MB, free: 8.223 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.508/7.822, allocations: 13.58 kB / 417.7 MB, free: 8.215 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.csv. Warning: Get data of variable sample1.y from file Modelica_trunk_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