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.001103/0.001103, 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.00139/0.001391, allocations: 202 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.412/1.412, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 50.54 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004681/0.3162, allocations: 1.93 MB / 410.7 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.3187, allocations: 1.223 MB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.319, allocations: 4 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007496/0.3198, allocations: 155.5 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004745/0.3203, allocations: 159.3 kB / 412.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000583/0.3209, allocations: 171.4 kB / 412.4 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.3212, allocations: 207.4 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.3213, allocations: 33.67 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3214, allocations: 79.69 kB / 412.7 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/0.3216, allocations: 75.58 kB / 412.8 MB, free: 13.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.664e-05/0.3216, allocations: 8 kB / 412.8 MB, free: 13.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.3217, allocations: 59.95 kB / 412.8 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.7e-05/0.3218, allocations: 43.84 kB / 412.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.3219, allocations: 87.41 kB / 413 MB, free: 13.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.3222, allocations: 220.9 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.3222, allocations: 4 kB / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3223, allocations: 0 / 413.2 MB, free: 13.06 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.3223, allocations: 0 / 413.2 MB, free: 13.06 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.0008059/0.3231, allocations: 0.5196 MB / 413.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.3231, allocations: 12.03 kB / 413.7 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.805e-05/0.3232, allocations: 42.67 kB / 413.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.3232, allocations: 24.66 kB / 413.8 MB, free: 12.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003774/0.3236, allocations: 282.7 kB / 414.1 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.3236, allocations: 4.375 kB / 414.1 MB, free: 12.08 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.01e-05/0.3237, allocations: 11.94 kB / 414.1 MB, free: 12.07 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.324, allocations: 175.5 kB / 414.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3241, allocations: 4 kB / 414.2 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.3241, allocations: 3.938 kB / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.269e-06/0.3241, allocations: 0 / 414.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.3242, allocations: 39.92 kB / 414.3 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005086/0.3247, allocations: 383.2 kB / 414.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002466/0.325, allocations: 134.5 kB / 414.8 MB, free: 11.22 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000108/0.3251, allocations: 63.41 kB / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.3252, allocations: 0 / 414.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001582/0.3253, allocations: 75.33 kB / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3253, allocations: 0 / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=11): time 0.0003799/0.3257, allocations: 157.4 kB / 415.1 MB, free: 10.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.696e-05/0.3258, allocations: 166.2 kB / 415.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003041/0.3261, allocations: 282.5 kB / 415.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.3262, allocations: 29.7 kB / 415.6 MB, free: 10.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.341e-05/0.3263, allocations: 120.8 kB / 415.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.346e-05/0.3263, allocations: 19.81 kB / 415.7 MB, free: 10.23 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.06e-05/0.3264, allocations: 37.7 kB / 415.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.3265, allocations: 330.8 kB / 416.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.179e-05/0.3266, allocations: 19.98 kB / 416.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3267, allocations: 91.2 kB / 416.2 MB, free: 9.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3268, allocations: 89.89 kB / 416.2 MB, free: 9.617 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.215e-06/0.3268, allocations: 4.031 kB / 416.3 MB, free: 9.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002297/0.3271, allocations: 137.5 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.3271, allocations: 8 kB / 416.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.3271, allocations: 0 / 416.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3271, allocations: 4 kB / 416.4 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.356e-05/0.3272, allocations: 15.94 kB / 416.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3272, allocations: 0 / 416.4 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.3273, allocations: 16.05 kB / 416.4 MB, free: 9.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.3273, allocations: 15.94 kB / 416.4 MB, free: 9.414 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.0001476/0.3275, allocations: 149.7 kB / 416.6 MB, free: 9.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.3276, allocations: 77.34 kB / 416.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.56e-05/0.3277, allocations: 25.7 kB / 416.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.3277, allocations: 0 / 416.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.3277, allocations: 0 / 416.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.267e-05/0.3277, allocations: 7.938 kB / 416.7 MB, free: 9.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002222/0.3279, allocations: 233.7 kB / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.3279, allocations: 0 / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.328, allocations: 4 kB / 416.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.328, allocations: 4 kB / 416.9 MB, free: 8.852 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.328, allocations: 4 kB / 416.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.328, allocations: 7.984 kB / 416.9 MB, free: 8.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.328, allocations: 3.938 kB / 417 MB, free: 8.836 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002756/0.3283, allocations: 171.3 kB / 417.1 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000114/0.3284, allocations: 112.9 kB / 417.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.614e-05/0.3285, allocations: 0 / 417.2 MB, free: 8.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.751e-05/0.3285, allocations: 11.94 kB / 417.2 MB, free: 8.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.787e-05/0.3286, allocations: 11.92 kB / 417.3 MB, free: 8.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.3286, allocations: 4 kB / 417.3 MB, free: 8.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002247/0.3288, allocations: 206 kB / 417.5 MB, free: 8.285 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3289, allocations: 4 kB / 417.5 MB, free: 8.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002766/0.3291, allocations: 39.83 kB / 417.5 MB, free: 8.242 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.001542/0.3307, allocations: 1.01 MB / 418.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002408/0.3309, allocations: 75.84 kB / 418.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.331, allocations: 0 / 418.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.331, allocations: 27.98 kB / 418.6 MB, free: 7.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.3315, allocations: 93.42 kB / 418.7 MB, free: 7.148 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3341, allocations: 2.042 MB / 420.7 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.3345, allocations: 0.7398 MB / 421.5 MB, free: 4.203 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.351e-05/0.3346, allocations: 25.52 kB / 421.5 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.612e-05/0.3347, allocations: 55.42 kB / 421.6 MB, free: 4.121 MB / 334.1 MB Notification: Performance of SimCode: time 1.132e-05/0.3347, allocations: 4 kB / 421.6 MB, free: 4.117 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.3603, allocations: 5.054 MB / 426.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.706/8.066, allocations: 9.172 kB / 426.6 MB, free: 15.19 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.0.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