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.001405/0.001406, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001594/0.001594, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.548/1.548, allocations: 227.4 MB / 246.9 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 67.89 kB / 358.2 MB, free: 13.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3002, allocations: 50.54 MB / 408.7 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1): time 0.002589/0.3029, allocations: 1.514 MB / 410.3 MB, free: 20 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003785/0.3033, allocations: 131.6 kB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.338e-05/0.3034, allocations: 0 / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.268e-05/0.3034, allocations: 7.922 kB / 410.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001297/0.3036, allocations: 11.94 kB / 410.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.3038, allocations: 35.91 kB / 410.4 MB, free: 15.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.873e-05/0.3039, allocations: 35.91 kB / 410.5 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.637e-05/0.304, allocations: 8 kB / 410.5 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.014e-05/0.304, allocations: 15.92 kB / 410.5 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.224e-05/0.3041, allocations: 19.86 kB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.3041, allocations: 4 kB / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.889e-06/0.3041, allocations: 0 / 410.5 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.366e-05/0.3042, allocations: 11.98 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.3042, allocations: 27.81 kB / 410.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000102/0.3043, allocations: 43.81 kB / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3043, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3043, allocations: 0 / 410.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.198e-06/0.3043, allocations: 4 kB / 410.6 MB, free: 15.67 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.0004179/0.3048, allocations: 368.8 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.3048, allocations: 8.031 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.511e-05/0.3048, allocations: 42.73 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.3049, allocations: 4.938 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002338/0.3051, allocations: 192.1 kB / 411.2 MB, free: 14.97 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.3051, allocations: 4.375 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.3052, allocations: 384 / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.3054, allocations: 121.5 kB / 411.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.3054, allocations: 7.938 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.3054, allocations: 0 / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3055, allocations: 4 kB / 411.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.89e-05/0.3055, allocations: 15.98 kB / 411.4 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.3058, allocations: 257.8 kB / 411.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.306, allocations: 138.2 kB / 411.8 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.207e-05/0.306, allocations: 29.78 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/0.306, allocations: 3.984 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.068e-05/0.3061, allocations: 34.5 kB / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.3061, allocations: 0 / 411.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002146/0.3063, allocations: 73.58 kB / 411.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.3064, allocations: 81.05 kB / 412 MB, free: 14.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.3065, allocations: 133.8 kB / 412.1 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3065, allocations: 25.7 kB / 412.1 MB, free: 13.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.452e-05/0.3065, allocations: 88.12 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.3066, allocations: 3.906 kB / 412.2 MB, free: 13.8 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.3066, allocations: 21.72 kB / 412.2 MB, free: 13.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.3067, allocations: 315 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-05/0.3067, allocations: 11.98 kB / 412.6 MB, free: 13.45 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.3068, allocations: 23.44 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.432e-05/0.3069, allocations: 47.36 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.3069, allocations: 3.938 kB / 412.6 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001061/0.307, allocations: 61.62 kB / 412.7 MB, free: 13.28 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.307, allocations: 7.938 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.307, allocations: 4 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.307, allocations: 0 / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.197e-05/0.307, allocations: 3.938 kB / 412.7 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.3071, allocations: 7.984 kB / 412.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.147e-05/0.3071, allocations: 8.031 kB / 412.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.196e-06/0.3071, allocations: 4 kB / 412.7 MB, free: 13.25 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 7.908e-05/0.3072, allocations: 125.7 kB / 412.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.636e-05/0.3073, allocations: 45.69 kB / 412.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.667e-05/0.3073, allocations: 11.91 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.3073, allocations: 4 kB / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.3073, allocations: 0 / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3073, allocations: 0 / 412.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3075, allocations: 181.3 kB / 413.1 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3075, allocations: 8 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.699e-06/0.3076, allocations: 4 kB / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3076, allocations: 0 / 413.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.3076, allocations: 3.984 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.3076, allocations: 0 / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3076, allocations: 4 kB / 413.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.3077, allocations: 156.3 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/0.3078, allocations: 93 kB / 413.3 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.3078, allocations: 4 kB / 413.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3079, allocations: 0 / 413.3 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3079, allocations: 7.938 kB / 413.4 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.3079, allocations: 3.984 kB / 413.4 MB, free: 12.49 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.034e-05/0.308, allocations: 105.7 kB / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.308, allocations: 0 / 413.5 MB, free: 12.39 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.3082, allocations: 4 kB / 413.5 MB, free: 12.39 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.0003971/0.3086, allocations: 0.6979 MB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.3088, allocations: 27.92 kB / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3088, allocations: 0 / 414.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.509e-05/0.3088, allocations: 8.25 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.3091, allocations: 20.14 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001097/0.3102, allocations: 1.314 MB / 415.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.3106, allocations: 0.6924 MB / 416.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.658e-05/0.3106, allocations: 0 / 416.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.3107, allocations: 11.44 kB / 416.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3107, allocations: 0 / 416.2 MB, free: 9.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01666/0.3273, allocations: 1.479 MB / 417.7 MB, free: 8.09 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.838, allocations: 6.594 kB / 417.7 MB, free: 8.086 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