Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009711/0.0009711, allocations: 149.1 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9276/0.9276, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.32e-07/9.32e-07, allocations: 0 / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.556e-05/1.649e-05, allocations: 2.281 kB / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002228/0.002245, allocations: 1.848 MB / 320.3 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.00347, allocations: 1.013 MB / 321.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-05/0.003551, allocations: 7.875 kB / 321.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.003977, allocations: 154.2 kB / 321.5 MB, free: 3.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.004183, allocations: 115.4 kB / 321.6 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003717/0.004555, allocations: 218.7 kB / 321.8 MB, free: 3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004729, allocations: 183.5 kB / 322 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.004829, allocations: 25.78 kB / 322 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001107/0.00494, allocations: 103.7 kB / 322.1 MB, free: 2.691 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.529e-05/0.005025, allocations: 63.8 kB / 322.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005045, allocations: 8 kB / 322.2 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.005148, allocations: 63.89 kB / 322.2 MB, free: 2.559 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.305e-05/0.005201, allocations: 35.86 kB / 322.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.256e-05/0.005244, allocations: 43.84 kB / 322.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002492/0.005493, allocations: 207.3 kB / 322.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.005496, allocations: 0 / 322.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.005496, allocations: 3.938 kB / 322.5 MB, free: 2.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.0055, allocations: 0 / 322.5 MB, free: 2.273 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000557/0.006057, allocations: 434.9 kB / 322.9 MB, free: 1.812 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.006094, allocations: 8.922 kB / 322.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.066e-05/0.006125, allocations: 42.73 kB / 323 MB, free: 1.754 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.006164, allocations: 16.84 kB / 323 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002476/0.006411, allocations: 212.7 kB / 323.2 MB, free: 1.5 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.006425, allocations: 8.375 kB / 323.2 MB, free: 1.492 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.006437, allocations: 4.375 kB / 323.2 MB, free: 1.488 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000231/0.006668, allocations: 146.2 kB / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/0.006677, allocations: 0 / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.006686, allocations: 0 / 323.4 MB, free: 1.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.006692, allocations: 4 kB / 323.4 MB, free: 1.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.603e-05/0.006758, allocations: 43.91 kB / 323.4 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.0071, allocations: 317.5 kB / 323.7 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001425/0.007243, allocations: 107.9 kB / 323.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.898e-05/0.007292, allocations: 46.5 kB / 323.9 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.007318, allocations: 4 kB / 323.9 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001087/0.007427, allocations: 75.38 kB / 323.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 8.92e-07/0.007427, allocations: 0 / 323.9 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002385/0.007666, allocations: 149.4 kB / 324.1 MB, free: 500 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.007716, allocations: 102.8 kB / 324.2 MB, free: 372 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.007896, allocations: 269.7 kB / 324.5 MB, free: 96 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.007911, allocations: 29.7 kB / 324.5 MB, free: 60 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.007982, allocations: 112.1 kB / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.898e-05/0.008001, allocations: 15.89 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.008033, allocations: 25.72 kB / 324.6 MB, free: 15.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.087e-05/0.008124, allocations: 330.8 kB / 325 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.308e-05/0.008157, allocations: 28.19 kB / 325 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.194e-05/0.008209, allocations: 68.27 kB / 325 MB, free: 15.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.833e-05/0.008277, allocations: 53.89 kB / 325.1 MB, free: 15.4 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00828, allocations: 4 kB / 325.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.857e-05/0.008378, allocations: 105.5 kB / 325.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.00839, allocations: 7.938 kB / 325.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.008395, allocations: 0 / 325.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.008406, allocations: 0 / 325.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.00846, allocations: 16 kB / 325.2 MB, free: 15.26 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.008466, allocations: 8.047 kB / 325.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.935e-05/0.008496, allocations: 4 kB / 325.2 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.008501, allocations: 0 / 325.2 MB, free: 15.25 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,sample1.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.692e-05/0.008587, allocations: 143.6 kB / 325.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.685e-05/0.008634, allocations: 69.52 kB / 325.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001475/0.008782, allocations: 119.6 kB / 325.6 MB, free: 14.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.008784, allocations: 4 kB / 325.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.008788, allocations: 0 / 325.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.008792, allocations: 64 / 325.6 MB, free: 14.9 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.008914, allocations: 192.6 kB / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.008915, allocations: 0 / 325.8 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002288/0.009144, allocations: 7.938 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.009145, allocations: 4 kB / 325.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.009153, allocations: 7.984 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.009155, allocations: 4 kB / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.009156, allocations: 0 / 325.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.009289, allocations: 158.6 kB / 325.9 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.009347, allocations: 31.83 kB / 326 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.009364, allocations: 8 kB / 326 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.808e-05/0.009392, allocations: 8 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.812e-05/0.009411, allocations: 3.984 kB / 326 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/0.00942, allocations: 8.062 kB / 326 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001147/0.009535, allocations: 197.2 kB / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009535, allocations: 0 / 326.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000153/0.009688, allocations: 27.94 kB / 326.2 MB, free: 14.19 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0009873/0.01068, allocations: 1.043 MB / 327.3 MB, free: 13.3 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001315/0.01081, allocations: 59.97 kB / 327.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01081, allocations: 0 / 327.3 MB, free: 13.24 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.059e-05/0.01085, allocations: 31.92 kB / 327.3 MB, free: 13.21 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.0111, allocations: 64.48 kB / 327.4 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001556/0.01265, allocations: 1.887 MB / 329.3 MB, free: 11.16 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.673e-05/0.01272, allocations: 115.7 kB / 329.4 MB, free: 11.02 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.901e-05/0.01277, allocations: 21.62 kB / 329.4 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.01282, allocations: 48.48 kB / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01282, allocations: 0 / 329.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02216/0.03498, allocations: 5.434 MB / 334.9 MB, free: 5.59 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.981/7.016, allocations: 10 kB / 334.9 MB, free: 5.586 MB / 298.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.801590599119663]