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.001134/0.001134, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001306/0.001306, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.448/1.448, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001036, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2845, allocations: 50.54 MB / 408.7 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002505/0.287, allocations: 1.514 MB / 410.3 MB, free: 52 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003667/0.2874, allocations: 135.5 kB / 410.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.2875, allocations: 4 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.382e-05/0.2876, allocations: 7.938 kB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.2877, allocations: 11.92 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.2879, allocations: 39.53 kB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 8.867e-05/0.288, allocations: 27.92 kB / 410.5 MB, free: 15.83 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.831e-05/0.2881, allocations: 15.97 kB / 410.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.2882, allocations: 15.94 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.136e-05/0.2882, allocations: 15.86 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.2882, allocations: 4 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.08e-05/0.2883, allocations: 4 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2883, allocations: 15.98 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.2884, allocations: 19.81 kB / 410.6 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.595e-05/0.2885, allocations: 47.81 kB / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2885, allocations: 0 / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2885, allocations: 0 / 410.6 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.633e-06/0.2885, allocations: 0 / 410.6 MB, free: 15.7 MB / 334.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.0004239/0.2889, allocations: 372.8 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.289, allocations: 12.03 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.569e-05/0.289, allocations: 30.75 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.592e-05/0.289, allocations: 4.938 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000239/0.2893, allocations: 196.1 kB / 411.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.2893, allocations: 8.312 kB / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.2893, allocations: 384 / 411.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002874/0.2896, allocations: 113.6 kB / 411.3 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.2896, allocations: 7.875 kB / 411.3 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.2897, allocations: 8 kB / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.2897, allocations: 0 / 411.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.694e-05/0.2897, allocations: 11.98 kB / 411.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003009/0.29, allocations: 257.8 kB / 411.6 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.2902, allocations: 142.2 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.772e-05/0.2903, allocations: 29.77 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.2903, allocations: 0 / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.2903, allocations: 30.56 kB / 411.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2903, allocations: 3.938 kB / 411.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002129/0.2906, allocations: 73.58 kB / 411.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.2906, allocations: 85.05 kB / 412 MB, free: 14.09 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.2907, allocations: 129.8 kB / 412.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2908, allocations: 25.7 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.138e-05/0.2908, allocations: 84.14 kB / 412.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.122e-05/0.2908, allocations: 7.906 kB / 412.2 MB, free: 13.83 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/0.2909, allocations: 21.7 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001007/0.291, allocations: 315 kB / 412.5 MB, free: 13.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.318e-05/0.291, allocations: 11.98 kB / 412.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.563e-05/0.2911, allocations: 31.62 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.075e-05/0.2911, allocations: 43.36 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2911, allocations: 3.938 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001071/0.2913, allocations: 65.66 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.228e-05/0.2913, allocations: 4 kB / 412.7 MB, free: 13.3 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.2913, allocations: 7.984 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.2913, allocations: 0 / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.256e-05/0.2913, allocations: 3.938 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.2913, allocations: 4.125 kB / 412.7 MB, free: 13.29 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.2914, allocations: 7.906 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2914, allocations: 4 kB / 412.7 MB, free: 13.27 MB / 334.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 8.495e-05/0.2915, allocations: 129.7 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.448e-05/0.2916, allocations: 45.69 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.186e-05/0.2916, allocations: 11.91 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2916, allocations: 3.938 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2916, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2916, allocations: 0 / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.2918, allocations: 185.4 kB / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2918, allocations: 0 / 413.1 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.258e-06/0.2918, allocations: 3.938 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2918, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2918, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.2918, allocations: 4 kB / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2918, allocations: 0 / 413.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001509/0.292, allocations: 164.3 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.737e-05/0.2921, allocations: 93 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.162e-05/0.2921, allocations: 0 / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.527e-05/0.2921, allocations: 4 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.2922, allocations: 0 / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.2922, allocations: 0 / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.666e-05/0.2923, allocations: 114.3 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2923, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002197/0.2925, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.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.000405/0.2929, allocations: 0.6937 MB / 414.2 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001169/0.293, allocations: 27.92 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.293, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.2931, allocations: 12.23 kB / 414.2 MB, free: 11.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.2934, allocations: 23.97 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.2945, allocations: 1.302 MB / 415.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002591/0.2948, allocations: 0.6885 MB / 416.2 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.591e-05/0.2948, allocations: 8.406 kB / 416.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.886e-05/0.2948, allocations: 11.44 kB / 416.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2948, allocations: 0 / 416.2 MB, free: 9.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01759/0.3124, allocations: 1.479 MB / 417.7 MB, free: 8.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.713, allocations: 5.875 kB / 417.7 MB, free: 8.117 MB / 334.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