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.001766/0.001766, allocations: 117.2 kB / 17.78 MB, free: 5.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002115/0.002115, allocations: 200.6 kB / 18.72 MB, free: 4.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.00176, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2643, allocations: 50.54 MB / 408.7 MB, free: 1.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003643/0.268, allocations: 1.51 MB / 410.3 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005261/0.2685, allocations: 135.5 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001137/0.2687, allocations: 4 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.425e-05/0.2688, allocations: 3.938 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001775/0.2689, allocations: 7.938 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002813/0.2692, allocations: 43.39 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2693, allocations: 31.92 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.2695, allocations: 15.98 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.392e-05/0.2695, allocations: 15.92 kB / 410.5 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.811e-05/0.2695, allocations: 15.86 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.542e-05/0.2696, allocations: 4 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.153e-05/0.2696, allocations: 4 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.2696, allocations: 8 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.8e-05/0.2697, allocations: 23.81 kB / 410.6 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.2698, allocations: 54.88 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2698, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.2698, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.2698, allocations: 0 / 410.6 MB, free: 15.67 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.000527/0.2704, allocations: 371 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2704, allocations: 12.03 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.2705, allocations: 34.75 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.2705, allocations: 12.89 kB / 411 MB, free: 15.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2708, allocations: 180.3 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.2708, allocations: 8.375 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.61e-05/0.2708, allocations: 4.375 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.2711, allocations: 113.5 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2712, allocations: 3.938 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.2712, allocations: 0 / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.2712, allocations: 3.984 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.846e-05/0.2712, allocations: 15.94 kB / 411.4 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003856/0.2716, allocations: 261.7 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.2718, allocations: 146.2 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.707e-05/0.2719, allocations: 25.72 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.2719, allocations: 7.969 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.272, allocations: 34.5 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.272, allocations: 4 kB / 411.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002422/0.2722, allocations: 69.58 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.342e-05/0.2723, allocations: 85.11 kB / 412 MB, free: 14.05 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001393/0.2725, allocations: 133.8 kB / 412.1 MB, free: 13.91 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.2725, allocations: 25.7 kB / 412.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.2726, allocations: 80.14 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.374e-05/0.2726, allocations: 8 kB / 412.2 MB, free: 13.79 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.2726, allocations: 17.8 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.2728, allocations: 322.8 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.993e-05/0.2728, allocations: 4 kB / 412.6 MB, free: 13.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.791e-05/0.2729, allocations: 35.61 kB / 412.6 MB, free: 13.39 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.17e-05/0.273, allocations: 39.38 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.273, allocations: 3.938 kB / 412.6 MB, free: 13.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.2731, allocations: 57.62 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2731, allocations: 8 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.2732, allocations: 7.922 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.2732, allocations: 96 / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.701e-05/0.2732, allocations: 11.92 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2732, allocations: 4.125 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.964e-05/0.2732, allocations: 0 / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.2733, allocations: 8 kB / 412.7 MB, free: 13.24 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.0001148/0.2734, allocations: 121.8 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.2735, allocations: 49.64 kB / 412.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.705e-05/0.2735, allocations: 7.906 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2735, allocations: 0 / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.2735, allocations: 7.922 kB / 412.9 MB, free: 13.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.2735, allocations: 4 kB / 412.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.2737, allocations: 169.6 kB / 413.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.2737, allocations: 3.984 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.513e-06/0.2738, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.2738, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.2738, allocations: 4 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2738, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2738, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001779/0.274, allocations: 168.3 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.456e-05/0.274, allocations: 89.05 kB / 413.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.188e-05/0.2741, allocations: 3.938 kB / 413.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.2741, allocations: 7.984 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.2742, allocations: 3.938 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.2742, allocations: 8 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.724e-05/0.2743, allocations: 102.4 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2743, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.2745, allocations: 4 kB / 413.5 MB, free: 12.39 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.0005258/0.275, allocations: 0.7015 MB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2752, allocations: 27.92 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.2752, allocations: 4.25 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.419e-05/0.2752, allocations: 4 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.2755, allocations: 31.94 kB / 414.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.2769, allocations: 1.295 MB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.2772, allocations: 0.6885 MB / 416.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.813e-05/0.2773, allocations: 0 / 416.2 MB, free: 9.477 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.184e-05/0.2773, allocations: 19.42 kB / 416.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2773, allocations: 0 / 416.2 MB, free: 9.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02146/0.2988, allocations: 1.464 MB / 417.7 MB, free: 8.102 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.109, allocations: 6.984 kB / 417.7 MB, free: 8.098 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.1.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