Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.001123/0.001123, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001175, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 63.92 kB / 307.1 MB, free: 0.5391 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09882/0.1002, allocations: 50.53 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.003563/0.1038, allocations: 1.489 MB / 359.1 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004307/0.1043, allocations: 131.6 kB / 359.2 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.1044, allocations: 3.938 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.1045, allocations: 3.984 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.1046, allocations: 3.938 kB / 359.2 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002808/0.1049, allocations: 35.86 kB / 359.2 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.16e-05/0.105, allocations: 27.97 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.1051, allocations: 15.98 kB / 359.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.52e-05/0.1052, allocations: 15.86 kB / 359.3 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.253e-05/0.1052, allocations: 11.94 kB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1053, allocations: 7.938 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.1053, allocations: 4 kB / 359.3 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.036e-05/0.1053, allocations: 11.98 kB / 359.3 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1054, allocations: 19.81 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001111/0.1055, allocations: 39.88 kB / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.1055, allocations: 0 / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1055, allocations: 0 / 359.4 MB, free: 12.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.502e-06/0.1055, allocations: 0 / 359.4 MB, free: 12.19 MB / 302.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.0004309/0.106, allocations: 355.5 kB / 359.7 MB, free: 11.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.106, allocations: 16.03 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.106, allocations: 38.73 kB / 359.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.1061, allocations: 12.78 kB / 359.8 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001929/0.1063, allocations: 182.9 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.1063, allocations: 4.375 kB / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.866e-06/0.1063, allocations: 384 / 360 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000219/0.1065, allocations: 85.61 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1066, allocations: 7.938 kB / 360.1 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.1066, allocations: 4 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.1066, allocations: 4 kB / 360.1 MB, free: 11.38 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.529e-05/0.1067, allocations: 11.92 kB / 360.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.107, allocations: 253.8 kB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.315e-05/0.1071, allocations: 49.09 kB / 360.4 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.1071, allocations: 21.77 kB / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.61e-05/0.1071, allocations: 0 / 360.4 MB, free: 10.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.231e-05/0.1072, allocations: 30.56 kB / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 7.62e-07/0.1072, allocations: 0 / 360.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002069/0.1074, allocations: 61.62 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.1075, allocations: 81.11 kB / 360.6 MB, free: 10.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1076, allocations: 129.8 kB / 360.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1076, allocations: 25.7 kB / 360.7 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.1077, allocations: 88.12 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.1077, allocations: 3.984 kB / 360.8 MB, free: 10.51 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.1077, allocations: 17.62 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.1079, allocations: 323 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.1079, allocations: 3.938 kB / 361.2 MB, free: 10.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.1079, allocations: 25.64 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.108, allocations: 17.72 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.201e-06/0.108, allocations: 3.938 kB / 361.2 MB, free: 10.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.503e-05/0.1081, allocations: 57.69 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.1081, allocations: 7.281 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.1082, allocations: 0 / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1082, allocations: 0 / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.527e-05/0.1082, allocations: 0 / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.1082, allocations: 4 kB / 361.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.853e-05/0.1082, allocations: 7.984 kB / 361.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.1083, allocations: 0 / 361.3 MB, free: 10.02 MB / 302.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 0.0001014/0.1084, allocations: 125.8 kB / 361.4 MB, free: 9.887 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.1084, allocations: 41.55 kB / 361.5 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.46e-05/0.1085, allocations: 15.47 kB / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.1085, allocations: 0 / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1085, allocations: 0 / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.1085, allocations: 0 / 361.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1087, allocations: 165.6 kB / 361.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1087, allocations: 7.938 kB / 361.6 MB, free: 9.602 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.775e-06/0.1087, allocations: 3.984 kB / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1087, allocations: 0 / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1087, allocations: 0 / 361.6 MB, free: 9.598 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1087, allocations: 4.031 kB / 361.6 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.1087, allocations: 4 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001685/0.1089, allocations: 160.2 kB / 361.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.109, allocations: 89.03 kB / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.344e-05/0.109, allocations: 0 / 361.9 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.1091, allocations: 4.031 kB / 361.9 MB, free: 9.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.1091, allocations: 4 kB / 361.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1091, allocations: 0 / 361.9 MB, free: 9.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.1092, allocations: 109.6 kB / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1092, allocations: 0 / 362 MB, free: 9.195 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002174/0.1095, allocations: 4 kB / 362 MB, free: 9.191 MB / 302.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.000493/0.1099, allocations: 0.6859 MB / 362.7 MB, free: 8.477 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001116/0.1101, allocations: 19.92 kB / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.1101, allocations: 0 / 362.7 MB, free: 8.457 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.554e-05/0.1101, allocations: 7.938 kB / 362.7 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003824/0.1105, allocations: 16.03 kB / 362.7 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.1117, allocations: 1.245 MB / 364 MB, free: 7.098 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.112, allocations: 0.6885 MB / 364.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.137e-05/0.1121, allocations: 4.031 kB / 364.7 MB, free: 6.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.1121, allocations: 15.44 kB / 364.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1121, allocations: 96 / 364.7 MB, free: 6.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.133, allocations: 1.344 MB / 366 MB, free: 5.137 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.558/7.691, allocations: 9.734 kB / 366 MB, free: 5.133 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_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