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.001238/0.001238, allocations: 106.8 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001262/0.001262, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.234/1.234, allocations: 227.4 MB / 246.3 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 60.36 kB / 306.4 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09519/0.09661, allocations: 50.53 MB / 356.9 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.002656/0.09931, allocations: 1.554 MB / 358.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003257/0.09966, allocations: 139.6 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.575e-05/0.09976, allocations: 0 / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.102e-05/0.09981, allocations: 3.938 kB / 358.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.65e-05/0.09991, allocations: 4 kB / 358.6 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.1001, allocations: 27.92 kB / 358.6 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.1002, allocations: 35.84 kB / 358.6 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.089e-05/0.1003, allocations: 11.98 kB / 358.7 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.522e-05/0.1003, allocations: 7.938 kB / 358.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.614e-05/0.1004, allocations: 15.88 kB / 358.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.1004, allocations: 8 kB / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.668e-06/0.1004, allocations: 0 / 358.7 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.129e-05/0.1004, allocations: 11.98 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.974e-05/0.1005, allocations: 19.81 kB / 358.7 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.392e-05/0.1005, allocations: 39.81 kB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1006, allocations: 0 / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1006, allocations: 0 / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.596e-06/0.1006, allocations: 0 / 358.8 MB, free: 12.53 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.0003695/0.1009, allocations: 363.5 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.101, allocations: 8.031 kB / 359.1 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.101, allocations: 38.75 kB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.489e-05/0.1011, allocations: 4.844 kB / 359.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.1012, allocations: 188.2 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.599e-05/0.1012, allocations: 4.375 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.1012, allocations: 384 / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1014, allocations: 89.61 kB / 359.4 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.1015, allocations: 7.938 kB / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.1015, allocations: 0 / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1015, allocations: 0 / 359.4 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.161e-05/0.1015, allocations: 19.92 kB / 359.5 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.1018, allocations: 249.8 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.578e-05/0.1019, allocations: 49.16 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.372e-05/0.1019, allocations: 21.7 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.102, allocations: 0 / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.102, allocations: 30.56 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.102, allocations: 3.938 kB / 359.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.1022, allocations: 61.62 kB / 359.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.1022, allocations: 81.11 kB / 360 MB, free: 11.11 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.1023, allocations: 132.1 kB / 360.1 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.1024, allocations: 25.7 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.237e-05/0.1024, allocations: 92.11 kB / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.1024, allocations: 0 / 360.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.1025, allocations: 21.62 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.1026, allocations: 319 kB / 360.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.849e-05/0.1026, allocations: 3.984 kB / 360.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.655e-05/0.1026, allocations: 17.72 kB / 360.5 MB, free: 10.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.615e-05/0.1027, allocations: 21.66 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1027, allocations: 3.938 kB / 360.6 MB, free: 10.44 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.656e-05/0.1028, allocations: 57.69 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1028, allocations: 8 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1028, allocations: 0 / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.237e-06/0.1028, allocations: 3.938 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.218e-05/0.1028, allocations: 0 / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.1029, allocations: 7.984 kB / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.1029, allocations: 0 / 360.6 MB, free: 10.36 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.1029, allocations: 0 / 360.6 MB, free: 10.36 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 7.975e-05/0.103, allocations: 121.7 kB / 360.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.215e-05/0.103, allocations: 45.66 kB / 360.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.1031, allocations: 15.48 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1031, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.1031, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.1031, allocations: 0 / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1032, allocations: 169.6 kB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1033, allocations: 0 / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-06/0.1033, allocations: 7.938 kB / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.1033, allocations: 0 / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.1033, allocations: 0 / 361 MB, free: 9.934 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1033, allocations: 4.031 kB / 361 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1033, allocations: 0 / 361 MB, free: 9.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001278/0.1034, allocations: 152.2 kB / 361.2 MB, free: 9.762 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.1035, allocations: 93.03 kB / 361.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.085e-05/0.1035, allocations: 3.938 kB / 361.2 MB, free: 9.648 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.03e-05/0.1036, allocations: 4 kB / 361.3 MB, free: 9.645 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.599e-05/0.1036, allocations: 8.016 kB / 361.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1036, allocations: 0 / 361.3 MB, free: 9.637 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.299e-05/0.1037, allocations: 107.2 kB / 361.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1037, allocations: 0 / 361.4 MB, free: 9.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002024/0.1039, allocations: 4 kB / 361.4 MB, free: 9.527 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.0003621/0.1042, allocations: 0.6897 MB / 362.1 MB, free: 8.809 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 8.654e-05/0.1043, allocations: 19.92 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.1044, allocations: 0 / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.377e-05/0.1044, allocations: 4 kB / 362.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003291/0.1047, allocations: 20.02 kB / 362.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.1057, allocations: 1.261 MB / 363.4 MB, free: 7.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002283/0.106, allocations: 0.6887 MB / 364.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.809e-05/0.106, allocations: 4.031 kB / 364.1 MB, free: 6.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.338e-05/0.106, allocations: 11.44 kB / 364.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1061, allocations: 0 / 364.1 MB, free: 6.684 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8128/0.9188, allocations: 1.203 MB / 365.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.9191, allocations: 222.7 kB / 365.5 MB, free: 5.363 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.82, allocations: 0 / 365.5 MB, free: 5.363 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 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.mat","/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) Reference file matches