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.0008976/0.0008976, allocations: 91.53 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009919/0.0009919, allocations: 196.4 kB / 18.28 MB, free: 5.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.268/1.268, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002165/0.0002165, allocations: 4 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08535, allocations: 51.53 MB / 359.4 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleClocked): time 0.00138/0.08676, allocations: 1.215 MB / 360.6 MB, free: 11.97 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000277/0.08705, allocations: 123.6 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.926e-05/0.08712, allocations: 4 kB / 360.7 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.586e-05/0.08716, allocations: 3.938 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.158e-05/0.08725, allocations: 3.984 kB / 360.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001885/0.08745, allocations: 39.91 kB / 360.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 6.305e-05/0.08752, allocations: 23.92 kB / 360.8 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.248e-05/0.0876, allocations: 8 kB / 360.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.435e-05/0.08763, allocations: 11.92 kB / 360.8 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.58e-05/0.08766, allocations: 11.92 kB / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.08768, allocations: 0 / 360.8 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.726e-06/0.0877, allocations: 4 kB / 360.8 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.584e-05/0.08774, allocations: 15.94 kB / 360.8 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.498e-05/0.08778, allocations: 37.58 kB / 360.9 MB, free: 11.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.585e-05/0.08785, allocations: 43.81 kB / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.08786, allocations: 0 / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.08786, allocations: 0 / 360.9 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.166e-06/0.08787, allocations: 0 / 360.9 MB, free: 11.64 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.0003154/0.08819, allocations: 351.6 kB / 361.2 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.08823, allocations: 8.031 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.08827, allocations: 38.75 kB / 361.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.104e-05/0.08829, allocations: 8.844 kB / 361.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000139/0.08844, allocations: 184.1 kB / 361.5 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.08846, allocations: 12.38 kB / 361.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-06/0.08848, allocations: 384 / 361.5 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001711/0.08865, allocations: 89.61 kB / 361.6 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.08867, allocations: 7.938 kB / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.771e-06/0.08868, allocations: 0 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.778e-06/0.08869, allocations: 0 / 361.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.879e-05/0.08874, allocations: 16 kB / 361.6 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.089, allocations: 261.7 kB / 361.9 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.953e-05/0.08907, allocations: 49.09 kB / 361.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.223e-05/0.08912, allocations: 17.78 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.08914, allocations: 4 kB / 361.9 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/0.08916, allocations: 42.48 kB / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.08917, allocations: 0 / 362 MB, free: 10.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001721/0.08934, allocations: 57.84 kB / 362 MB, free: 10.31 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.08939, allocations: 81.11 kB / 362.1 MB, free: 10.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.08949, allocations: 136.5 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.08951, allocations: 25.7 kB / 362.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.08955, allocations: 80.14 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.514e-06/0.08956, allocations: 4 kB / 362.3 MB, free: 9.953 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.903e-05/0.08959, allocations: 13.72 kB / 362.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.934e-05/0.08967, allocations: 314.8 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.0897, allocations: 8.031 kB / 362.7 MB, free: 9.609 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.668e-05/0.08974, allocations: 17.72 kB / 362.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.279e-05/0.0898, allocations: 29.64 kB / 362.7 MB, free: 9.551 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.08981, allocations: 3.938 kB / 362.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.919e-05/0.08989, allocations: 53.69 kB / 362.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.08991, allocations: 8 kB / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.08992, allocations: 0 / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.607e-06/0.08993, allocations: 0 / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-05/0.08995, allocations: 0 / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.08996, allocations: 3.938 kB / 362.8 MB, free: 9.477 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.08999, allocations: 4 kB / 362.8 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.09, allocations: 0 / 362.8 MB, free: 9.473 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 6.625e-05/0.09007, allocations: 129.8 kB / 362.9 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.231e-05/0.09013, allocations: 41.61 kB / 363 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.275e-05/0.09015, allocations: 11.48 kB / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.09016, allocations: 0 / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.165e-06/0.09017, allocations: 0 / 363 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.09018, allocations: 3.984 kB / 363 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.09031, allocations: 169.6 kB / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.09032, allocations: 0 / 363.1 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.282e-06/0.09033, allocations: 4 kB / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.09034, allocations: 0 / 363.1 MB, free: 9.051 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-06/0.09035, allocations: 4.031 kB / 363.1 MB, free: 9.047 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.09035, allocations: 3.984 kB / 363.2 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.09036, allocations: 3.938 kB / 363.2 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.09048, allocations: 156.2 kB / 363.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.621e-05/0.09054, allocations: 93.03 kB / 363.4 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.09055, allocations: 4.031 kB / 363.4 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.068e-05/0.09061, allocations: 3.984 kB / 363.4 MB, free: 8.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.09064, allocations: 7.938 kB / 363.4 MB, free: 8.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.09065, allocations: 4 kB / 363.4 MB, free: 8.738 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.017e-05/0.0907, allocations: 99.27 kB / 363.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09071, allocations: 0 / 363.5 MB, free: 8.641 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002001/0.09091, allocations: 4 kB / 363.5 MB, free: 8.637 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.000327/0.09124, allocations: 0.6975 MB / 364.2 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 7.99e-05/0.09133, allocations: 8 kB / 364.2 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.09135, allocations: 4 kB / 364.2 MB, free: 7.898 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.09138, allocations: 12.09 kB / 364.2 MB, free: 7.887 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.09167, allocations: 20.02 kB / 364.3 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009193/0.0926, allocations: 1.267 MB / 365.5 MB, free: 6.504 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.09281, allocations: 0.6926 MB / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.623e-05/0.09283, allocations: 0 / 366.2 MB, free: 5.785 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.09286, allocations: 11.44 kB / 366.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.09287, allocations: 0 / 366.2 MB, free: 5.773 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03944/0.1323, allocations: 1.14 MB / 367.4 MB, free: 4.805 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.1326, allocations: 236 kB / 367.6 MB, free: 4.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/1.733, allocations: 0 / 367.6 MB, free: 4.535 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