Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.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.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001295/0.001295, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001339/0.001339, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 59.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2931, allocations: 50.56 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.003475/0.2966, allocations: 1.925 MB / 410.8 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.2987, allocations: 1.231 MB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001376/0.2989, allocations: 4 kB / 412 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.2996, allocations: 147.5 kB / 412.1 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003965/0.3, allocations: 163.3 kB / 412.3 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.3005, allocations: 178.9 kB / 412.5 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000281/0.3008, allocations: 207.4 kB / 412.7 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.301, allocations: 37.66 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3011, allocations: 75.69 kB / 412.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001368/0.3012, allocations: 79.58 kB / 412.9 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.3013, allocations: 8 kB / 412.9 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000143/0.3014, allocations: 59.95 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.45e-05/0.3015, allocations: 43.84 kB / 413 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.684e-05/0.3016, allocations: 83.41 kB / 413 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003392/0.302, allocations: 226.1 kB / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.302, allocations: 0 / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.302, allocations: 0 / 413.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.302, allocations: 0 / 413.3 MB, free: 13.01 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008205/0.3028, allocations: 0.5349 MB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3029, allocations: 12.03 kB / 413.8 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.3029, allocations: 34.75 kB / 413.8 MB, free: 12.37 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.159e-05/0.303, allocations: 24.8 kB / 413.9 MB, free: 12.34 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.3033, allocations: 278.9 kB / 414.1 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.3034, allocations: 12.38 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.3034, allocations: 7.938 kB / 414.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00035/0.3037, allocations: 175.5 kB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3038, allocations: 0 / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.3038, allocations: 11.98 kB / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3038, allocations: 0 / 414.3 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.3039, allocations: 39.92 kB / 414.4 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005366/0.3045, allocations: 375.3 kB / 414.8 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.3047, allocations: 134.5 kB / 414.9 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.3048, allocations: 55.42 kB / 414.9 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3049, allocations: 11.98 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.305, allocations: 75.33 kB / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.613e-06/0.3051, allocations: 0 / 415 MB, free: 11.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.000415/0.3055, allocations: 153.8 kB / 415.2 MB, free: 10.85 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001194/0.3056, allocations: 166.2 kB / 415.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003856/0.306, allocations: 286.5 kB / 415.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.306, allocations: 29.7 kB / 415.6 MB, free: 10.32 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.3062, allocations: 120.4 kB / 415.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.3062, allocations: 19.83 kB / 415.8 MB, free: 10.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.697e-05/0.3063, allocations: 33.7 kB / 415.8 MB, free: 10.14 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.3065, allocations: 334.8 kB / 416.1 MB, free: 9.805 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.3066, allocations: 23.98 kB / 416.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.3067, allocations: 79.66 kB / 416.2 MB, free: 9.676 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.3069, allocations: 97.97 kB / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3069, allocations: 0 / 416.3 MB, free: 9.559 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002586/0.3071, allocations: 133.4 kB / 416.5 MB, free: 9.422 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3072, allocations: 8 kB / 416.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.3072, allocations: 0 / 416.5 MB, free: 9.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3072, allocations: 7.984 kB / 416.5 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.602e-05/0.3073, allocations: 11.94 kB / 416.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.3073, allocations: 4 kB / 416.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.734e-05/0.3074, allocations: 12.23 kB / 416.5 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3074, allocations: 7.938 kB / 416.5 MB, free: 9.371 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001621/0.3076, allocations: 161.9 kB / 416.7 MB, free: 9.203 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.3077, allocations: 69.5 kB / 416.7 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.3078, allocations: 25.7 kB / 416.8 MB, free: 9.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.3078, allocations: 4 kB / 416.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3078, allocations: 0 / 416.8 MB, free: 9.094 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3078, allocations: 11.91 kB / 416.8 MB, free: 9.082 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.308, allocations: 237.5 kB / 417 MB, free: 8.801 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.3081, allocations: 4 kB / 417 MB, free: 8.797 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.643e-05/0.3081, allocations: 8.094 kB / 417 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3081, allocations: 0 / 417 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.3081, allocations: 8 kB / 417 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.3081, allocations: 0 / 417 MB, free: 8.781 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.3082, allocations: 7.938 kB / 417 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.3084, allocations: 171.5 kB / 417.2 MB, free: 8.578 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.3086, allocations: 109 kB / 417.3 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.3086, allocations: 4 kB / 417.3 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.933e-05/0.3087, allocations: 8 kB / 417.3 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3087, allocations: 15.86 kB / 417.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.3088, allocations: 4 kB / 417.4 MB, free: 8.422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.309, allocations: 206 kB / 417.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.309, allocations: 0 / 417.6 MB, free: 8.223 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.3093, allocations: 31.94 kB / 417.6 MB, free: 8.191 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002172/0.3115, allocations: 1.018 MB / 418.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002477/0.3118, allocations: 79.84 kB / 418.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3118, allocations: 0 / 418.7 MB, free: 7.199 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.3118, allocations: 24 kB / 418.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.3123, allocations: 92.62 kB / 418.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.315, allocations: 2.044 MB / 420.8 MB, free: 4.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004433/0.3155, allocations: 0.7437 MB / 421.6 MB, free: 4.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.865e-05/0.3156, allocations: 21.53 kB / 421.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.3157, allocations: 59.41 kB / 421.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3157, allocations: 0 / 421.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02857/0.3443, allocations: 4.998 MB / 426.7 MB, free: 15.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.061/8.405, allocations: 15.86 kB / 426.7 MB, free: 15.18 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/BackSample/BackSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches