Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 106.7 kB / 17.06 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.606/1.606, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 43.92 kB / 350.8 MB, free: 3.746 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3792, allocations: 49.43 MB / 400.2 MB, free: 8.406 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample): time 0.004318/0.3836, allocations: 1.904 MB / 402.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002073/0.3857, allocations: 1.087 MB / 403.2 MB, free: 5.801 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.3859, allocations: 7.938 kB / 403.2 MB, free: 5.793 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007163/0.3867, allocations: 155.5 kB / 403.4 MB, free: 5.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3871, allocations: 115.5 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007335/0.3878, allocations: 205.8 kB / 403.7 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003067/0.3881, allocations: 195.4 kB / 403.9 MB, free: 5.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.3883, allocations: 37.66 kB / 403.9 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001462/0.3884, allocations: 75.69 kB / 404 MB, free: 5.023 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001392/0.3886, allocations: 79.56 kB / 404.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.746e-05/0.3886, allocations: 12 kB / 404.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001961/0.3888, allocations: 59.97 kB / 404.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.211e-05/0.3889, allocations: 47.83 kB / 404.2 MB, free: 4.828 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000111/0.389, allocations: 67.55 kB / 404.3 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004104/0.3895, allocations: 220.9 kB / 404.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3895, allocations: 0 / 404.5 MB, free: 4.547 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3895, allocations: 4 kB / 404.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.266e-06/0.3895, allocations: 3.938 kB / 404.5 MB, free: 4.539 MB / 318.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.001042/0.3906, allocations: 0.5079 MB / 405 MB, free: 3.977 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3906, allocations: 16.02 kB / 405 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.957e-05/0.3907, allocations: 38.75 kB / 405 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.024e-05/0.3907, allocations: 20.75 kB / 405.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004368/0.3912, allocations: 274.7 kB / 405.3 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.3912, allocations: 12.36 kB / 405.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.3912, allocations: 7.938 kB / 405.4 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004491/0.3917, allocations: 175 kB / 405.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.3917, allocations: 0 / 405.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.59e-05/0.3918, allocations: 7.938 kB / 405.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.3918, allocations: 4 kB / 405.5 MB, free: 3.363 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001055/0.3919, allocations: 35.92 kB / 405.6 MB, free: 3.328 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.3925, allocations: 375.2 kB / 405.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002959/0.3928, allocations: 134.5 kB / 406.1 MB, free: 2.734 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3929, allocations: 59.41 kB / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.3929, allocations: 0 / 406.1 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001793/0.3931, allocations: 79.39 kB / 406.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 8.236e-06/0.3931, allocations: 3.984 kB / 406.2 MB, free: 2.57 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.0005514/0.3937, allocations: 153.3 kB / 406.4 MB, free: 2.414 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001322/0.3938, allocations: 166.5 kB / 406.5 MB, free: 2.215 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004139/0.3943, allocations: 284.8 kB / 406.8 MB, free: 1.922 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3943, allocations: 25.7 kB / 406.8 MB, free: 1.891 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001215/0.3944, allocations: 116.4 kB / 406.9 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.449e-05/0.3945, allocations: 19.8 kB / 407 MB, free: 1.75 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.3946, allocations: 29.72 kB / 407 MB, free: 1.715 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3947, allocations: 330.8 kB / 407.3 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.137e-05/0.3948, allocations: 23.98 kB / 407.3 MB, free: 1.359 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.395, allocations: 85.47 kB / 407.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.3952, allocations: 98.16 kB / 407.5 MB, free: 1.133 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3952, allocations: 4 kB / 407.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003286/0.3956, allocations: 121.4 kB / 407.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.3956, allocations: 8 kB / 407.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3956, allocations: 0 / 407.6 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.3957, allocations: 8.188 kB / 407.6 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.3958, allocations: 19.92 kB / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3958, allocations: 0 / 407.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.3959, allocations: 15.84 kB / 407.7 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.396, allocations: 4 kB / 407.7 MB, free: 0.9492 MB / 318.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.0001928/0.3962, allocations: 149.7 kB / 407.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.3963, allocations: 77.34 kB / 407.9 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.506e-05/0.3964, allocations: 33.73 kB / 407.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3964, allocations: 4 kB / 407.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.3964, allocations: 0 / 407.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.3965, allocations: 3.938 kB / 407.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002912/0.3968, allocations: 233.6 kB / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.3968, allocations: 0 / 408.2 MB, free: 400 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.3968, allocations: 12 kB / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.3968, allocations: 0 / 408.2 MB, free: 388 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3969, allocations: 7.984 kB / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3969, allocations: 0 / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3969, allocations: 0 / 408.2 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003681/0.3973, allocations: 179.3 kB / 408.4 MB, free: 172 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.3974, allocations: 108.8 kB / 408.5 MB, free: 44 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.111e-05/0.3975, allocations: 4 kB / 408.5 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.45e-05/0.3976, allocations: 7.984 kB / 408.5 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.005e-05/0.3977, allocations: 12 kB / 408.5 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3977, allocations: 8 kB / 408.5 MB, free: 12 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003064/0.398, allocations: 200.5 kB / 408.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.01e-07/0.398, allocations: 4 kB / 408.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004409/0.3985, allocations: 31.98 kB / 408.7 MB, free: 15.78 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.002224/0.4007, allocations: 1.022 MB / 409.8 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003188/0.401, allocations: 79.84 kB / 409.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.4011, allocations: 384 / 409.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.673e-05/0.4012, allocations: 27.98 kB / 409.9 MB, free: 14.78 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006823/0.4019, allocations: 83.59 kB / 409.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.4053, allocations: 2.012 MB / 412 MB, free: 12.54 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.4058, allocations: 0.7319 MB / 412.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001281/0.4059, allocations: 29.52 kB / 412.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001327/0.4061, allocations: 55.41 kB / 412.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4061, allocations: 0 / 412.8 MB, free: 11.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.4434, allocations: 4.973 MB / 417.7 MB, free: 6.875 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.46, allocations: 8.625 kB / 417.8 MB, free: 6.867 MB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample_fmu --startTime=0 --stopTime=0.09 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_BackSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches