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.001254/0.001254, allocations: 107.1 kB / 17.06 MB, free: 6.125 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.001355/0.001355, allocations: 199 kB / 18 MB, free: 5.199 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.046/2.046, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 43.94 kB / 350.8 MB, free: 3.754 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4628, allocations: 49.44 MB / 400.2 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.005547/0.4684, allocations: 1.497 MB / 401.7 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006677/0.4691, allocations: 139.5 kB / 401.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.4693, allocations: 5.219 kB / 401.9 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 7.033e-05/0.4694, allocations: 3.938 kB / 401.9 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001977/0.4696, allocations: 14.17 kB / 401.9 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004013/0.47, allocations: 37.84 kB / 401.9 MB, free: 7.109 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.4702, allocations: 25.8 kB / 401.9 MB, free: 7.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.4703, allocations: 19.92 kB / 402 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.074e-05/0.4704, allocations: 11.94 kB / 402 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.917e-05/0.4705, allocations: 19.86 kB / 402 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.4705, allocations: 4 kB / 402 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.817e-05/0.4705, allocations: 4 kB / 402 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.535e-05/0.4706, allocations: 11.98 kB / 402 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.738e-05/0.4707, allocations: 23.8 kB / 402 MB, free: 6.996 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001758/0.4709, allocations: 43.83 kB / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4709, allocations: 0 / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4709, allocations: 0 / 402.1 MB, free: 6.953 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.471, allocations: 0 / 402.1 MB, free: 6.953 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.0007231/0.4717, allocations: 364.9 kB / 402.4 MB, free: 6.547 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.221e-05/0.4718, allocations: 8.031 kB / 402.4 MB, free: 6.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.511e-05/0.4719, allocations: 38.75 kB / 402.5 MB, free: 6.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.933e-05/0.4719, allocations: 8.844 kB / 402.5 MB, free: 6.484 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004587/0.4724, allocations: 204 kB / 402.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.4724, allocations: 384 / 402.7 MB, free: 6.246 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.461e-05/0.4725, allocations: 4.375 kB / 402.7 MB, free: 6.242 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004728/0.473, allocations: 113.6 kB / 402.8 MB, free: 6.113 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.473, allocations: 7.875 kB / 402.8 MB, free: 6.105 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.753e-05/0.473, allocations: 4 kB / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.4731, allocations: 0 / 402.8 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001108/0.4732, allocations: 15.92 kB / 402.8 MB, free: 6.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005339/0.4737, allocations: 265.8 kB / 403.1 MB, free: 5.773 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003031/0.4741, allocations: 142.2 kB / 403.2 MB, free: 5.598 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.4742, allocations: 25.77 kB / 403.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.402e-05/0.4742, allocations: 0 / 403.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.4743, allocations: 38.56 kB / 403.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.903e-06/0.4743, allocations: 0 / 403.3 MB, free: 5.52 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004356/0.4748, allocations: 73.52 kB / 403.4 MB, free: 5.441 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4749, allocations: 77.11 kB / 403.4 MB, free: 5.348 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.4751, allocations: 132.6 kB / 403.6 MB, free: 5.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.4752, allocations: 25.7 kB / 403.6 MB, free: 5.18 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.528e-05/0.4753, allocations: 88.14 kB / 403.7 MB, free: 5.09 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.4753, allocations: 3.906 kB / 403.7 MB, free: 5.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.277e-05/0.4754, allocations: 25.83 kB / 403.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002012/0.4756, allocations: 310.8 kB / 404 MB, free: 4.742 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.657e-05/0.4757, allocations: 8 kB / 404 MB, free: 4.734 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.4758, allocations: 35.36 kB / 404.1 MB, free: 4.688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.476, allocations: 43.36 kB / 404.1 MB, free: 4.633 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/0.476, allocations: 7.938 kB / 404.1 MB, free: 4.625 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002152/0.4762, allocations: 61.56 kB / 404.2 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.4763, allocations: 8 kB / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4763, allocations: 0 / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.4763, allocations: 128 / 404.2 MB, free: 4.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.011e-05/0.4764, allocations: 8 kB / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.4764, allocations: 0 / 404.2 MB, free: 4.543 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.516e-05/0.4764, allocations: 4 kB / 404.2 MB, free: 4.539 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.4765, allocations: 0 / 404.2 MB, free: 4.539 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 0.0001498/0.4766, allocations: 133.7 kB / 404.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.4768, allocations: 41.61 kB / 404.4 MB, free: 4.352 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.536e-05/0.4769, allocations: 15.89 kB / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.4769, allocations: 0 / 404.4 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4769, allocations: 4 kB / 404.4 MB, free: 4.324 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.4769, allocations: 4 kB / 404.4 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.4773, allocations: 173.5 kB / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.4773, allocations: 0 / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.292e-05/0.4773, allocations: 0 / 404.6 MB, free: 4.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.183e-06/0.4773, allocations: 4 kB / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4773, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.4774, allocations: 0 / 404.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4774, allocations: 3.938 kB / 404.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003008/0.4777, allocations: 172.2 kB / 404.7 MB, free: 3.906 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.4778, allocations: 93.38 kB / 404.8 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.4779, allocations: 4 kB / 404.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000119/0.478, allocations: 4 kB / 404.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.645e-05/0.4781, allocations: 0 / 404.8 MB, free: 3.789 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4781, allocations: 7.984 kB / 404.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4782, allocations: 99.27 kB / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.4782, allocations: 0 / 404.9 MB, free: 3.684 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000457/0.4787, allocations: 8 kB / 404.9 MB, free: 3.676 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.0007174/0.4794, allocations: 0.7014 MB / 405.6 MB, free: 2.945 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.4797, allocations: 32.11 kB / 405.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.4797, allocations: 0 / 405.7 MB, free: 2.914 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.754e-05/0.4798, allocations: 7.984 kB / 405.7 MB, free: 2.906 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005677/0.4804, allocations: 20.02 kB / 405.7 MB, free: 2.887 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001961/0.4823, allocations: 1.31 MB / 407 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.4828, allocations: 0.6922 MB / 407.7 MB, free: 0.7539 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.722e-05/0.4828, allocations: 3.984 kB / 407.7 MB, free: 0.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.4829, allocations: 15.44 kB / 407.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4829, allocations: 0 / 407.7 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03211/0.515, allocations: 1.48 MB / 409.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.15, allocations: 4.688 kB / 409.2 MB, free: 15.36 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches