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.001287/0.001287, allocations: 117 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001255/0.001255, allocations: 201.8 kB / 18.26 MB, free: 5.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001371/0.001371, allocations: 64.67 kB / 306.6 MB, free: 0.8438 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1017, allocations: 50.53 MB / 357.1 MB, free: 14.32 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.003321/0.1051, allocations: 1.574 MB / 358.7 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003998/0.1055, allocations: 135.6 kB / 358.8 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1056, allocations: 3.938 kB / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.431e-05/0.1058, allocations: 0 / 358.8 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001347/0.1059, allocations: 11.94 kB / 358.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.1062, allocations: 27.97 kB / 358.8 MB, free: 12.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.31e-05/0.1063, allocations: 31.92 kB / 358.9 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1064, allocations: 15.98 kB / 358.9 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.1064, allocations: 15.94 kB / 358.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.454e-05/0.1065, allocations: 19.86 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.1065, allocations: 3.938 kB / 358.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.264e-05/0.1065, allocations: 4 kB / 358.9 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.103e-05/0.1066, allocations: 11.94 kB / 358.9 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.816e-05/0.1066, allocations: 23.84 kB / 359 MB, free: 12.44 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001147/0.1067, allocations: 43.83 kB / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.1067, allocations: 0 / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1067, allocations: 0 / 359 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1068, allocations: 0 / 359 MB, free: 12.39 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004879/0.1072, allocations: 363.5 kB / 359.4 MB, free: 11.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.1073, allocations: 12.03 kB / 359.4 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.1073, allocations: 34.75 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.1074, allocations: 8.844 kB / 359.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.1076, allocations: 196.1 kB / 359.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.1076, allocations: 4.375 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.006e-06/0.1076, allocations: 4.312 kB / 359.6 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.108, allocations: 109.6 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.108, allocations: 3.938 kB / 359.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.108, allocations: 3.984 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.108, allocations: 4 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.1081, allocations: 12 kB / 359.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1084, allocations: 265.7 kB / 360 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.1086, allocations: 134.2 kB / 360.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.652e-05/0.1087, allocations: 33.7 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.143e-05/0.1087, allocations: 7.984 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.1087, allocations: 34.56 kB / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.353e-06/0.1087, allocations: 0 / 360.2 MB, free: 10.97 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002324/0.109, allocations: 69.56 kB / 360.3 MB, free: 10.89 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.1091, allocations: 77.11 kB / 360.4 MB, free: 10.8 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001179/0.1092, allocations: 140.1 kB / 360.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.1092, allocations: 29.7 kB / 360.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.726e-05/0.1093, allocations: 88.27 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.528e-06/0.1093, allocations: 3.938 kB / 360.6 MB, free: 10.53 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.767e-05/0.1093, allocations: 21.72 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1094, allocations: 314.8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.15e-05/0.1095, allocations: 8 kB / 360.9 MB, free: 10.18 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.686e-05/0.1095, allocations: 27.42 kB / 361 MB, free: 10.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.1096, allocations: 43.38 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1096, allocations: 3.938 kB / 361 MB, free: 10.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001224/0.1097, allocations: 69.47 kB / 361.1 MB, free: 10 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1098, allocations: 8.125 kB / 361.1 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1098, allocations: 7.969 kB / 361.1 MB, free: 9.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1098, allocations: 4 kB / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.156e-05/0.1098, allocations: 0 / 361.1 MB, free: 9.984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-05/0.1098, allocations: 4 kB / 361.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.1099, allocations: 3.938 kB / 361.1 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.1099, allocations: 4 kB / 361.1 MB, free: 9.973 MB / 302.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.0001032/0.11, allocations: 126.8 kB / 361.2 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/0.1101, allocations: 53.53 kB / 361.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.1101, allocations: 11.91 kB / 361.3 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.1101, allocations: 7.984 kB / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.1101, allocations: 0 / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1101, allocations: 0 / 361.3 MB, free: 9.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.1103, allocations: 165.6 kB / 361.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1103, allocations: 0 / 361.5 MB, free: 9.543 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.438e-06/0.1104, allocations: 8 kB / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.195e-06/0.1104, allocations: 0 / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-06/0.1104, allocations: 0 / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1104, allocations: 0 / 361.5 MB, free: 9.535 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.1104, allocations: 4 kB / 361.5 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.1105, allocations: 168.2 kB / 361.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/0.1106, allocations: 89.09 kB / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.1106, allocations: 0 / 361.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.827e-05/0.1107, allocations: 3.984 kB / 361.7 MB, free: 9.238 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.066e-05/0.1107, allocations: 4 kB / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.1107, allocations: 0 / 361.7 MB, free: 9.234 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.164e-05/0.1108, allocations: 106.1 kB / 361.8 MB, free: 9.133 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1108, allocations: 4 kB / 361.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.1111, allocations: 7.906 kB / 361.9 MB, free: 9.121 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: 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.0004346/0.1115, allocations: 0.7057 MB / 362.6 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1116, allocations: 23.98 kB / 362.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1116, allocations: 0 / 362.6 MB, free: 8.363 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.491e-05/0.1117, allocations: 7.938 kB / 362.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.112, allocations: 24.05 kB / 362.6 MB, free: 8.332 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.1132, allocations: 1.322 MB / 363.9 MB, free: 6.906 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.1136, allocations: 0.6924 MB / 364.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.1136, allocations: 0 / 364.6 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.1136, allocations: 15.44 kB / 364.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1136, allocations: 0 / 364.7 MB, free: 6.172 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3585/0.4721, allocations: 1.329 MB / 366 MB, free: 4.98 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002811/0.4724, allocations: 218.5 kB / 366.2 MB, free: 4.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/2.509, allocations: 0 / 366.2 MB, free: 4.719 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches