Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007233/0.0007233, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001334/0.001334, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9027/0.9027, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.071e-05/2.22e-05, allocations: 2.281 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample): time 0.002698/0.00272, allocations: 1.893 MB / 326.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004449, allocations: 1.153 MB / 327.6 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004569, allocations: 11.94 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005013/0.00507, allocations: 147.5 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.005414, allocations: 174.7 kB / 327.9 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.005825, allocations: 163.4 kB / 328 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.006039, allocations: 195.4 kB / 328.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.006162, allocations: 29.72 kB / 328.3 MB, free: 12.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.006294, allocations: 95.73 kB / 328.4 MB, free: 12.02 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.0064, allocations: 63.8 kB / 328.4 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.006421, allocations: 12 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.006563, allocations: 59.95 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.547e-05/0.006629, allocations: 43.78 kB / 328.5 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.975e-05/0.006688, allocations: 43.84 kB / 328.6 MB, free: 11.8 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002761/0.006964, allocations: 215.2 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.006969, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.00697, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.006976, allocations: 7.938 kB / 328.8 MB, free: 11.59 MB / 298.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.0006701/0.007646, allocations: 442.8 kB / 329.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.007685, allocations: 11.98 kB / 329.2 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.957e-05/0.007714, allocations: 38.75 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.007756, allocations: 20.8 kB / 329.3 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002544/0.00801, allocations: 216.7 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.008022, allocations: 4.375 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.008034, allocations: 4.375 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.008272, allocations: 142.4 kB / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.00828, allocations: 192 / 329.6 MB, free: 10.64 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.008289, allocations: 4.125 kB / 329.7 MB, free: 10.63 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.008295, allocations: 7.984 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.798e-05/0.008363, allocations: 39.91 kB / 329.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003709/0.008734, allocations: 321.6 kB / 330 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.00889, allocations: 115.8 kB / 330.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.008943, allocations: 42.5 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.008966, allocations: 4 kB / 330.2 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/0.009078, allocations: 75.38 kB / 330.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 1.152e-06/0.009079, allocations: 0 / 330.2 MB, free: 9.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002502/0.009329, allocations: 145.5 kB / 330.4 MB, free: 9.793 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.009383, allocations: 111 kB / 330.5 MB, free: 9.66 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.009578, allocations: 277.9 kB / 330.8 MB, free: 9.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.009591, allocations: 29.64 kB / 330.8 MB, free: 9.344 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.009651, allocations: 120.1 kB / 330.9 MB, free: 9.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.00967, allocations: 19.84 kB / 330.9 MB, free: 9.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.009705, allocations: 29.66 kB / 331 MB, free: 9.168 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003605/0.01007, allocations: 326.8 kB / 331.3 MB, free: 8.84 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.118e-05/0.01011, allocations: 23.98 kB / 331.3 MB, free: 8.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.478e-05/0.01016, allocations: 68.27 kB / 331.4 MB, free: 8.734 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.056e-05/0.01023, allocations: 57.58 kB / 331.4 MB, free: 8.672 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.01023, allocations: 4.031 kB / 331.4 MB, free: 8.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001044/0.01034, allocations: 89.59 kB / 331.5 MB, free: 8.574 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.01035, allocations: 8 kB / 331.5 MB, free: 8.566 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01036, allocations: 3.938 kB / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.01037, allocations: 0 / 331.5 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.01043, allocations: 15.92 kB / 331.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.01043, allocations: 4.156 kB / 331.6 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.539e-05/0.01047, allocations: 8 kB / 331.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.01048, allocations: 3.984 kB / 331.6 MB, free: 8.531 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.883e-05/0.01057, allocations: 150.1 kB / 331.7 MB, free: 8.375 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.01062, allocations: 69.48 kB / 331.8 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.01076, allocations: 111.5 kB / 331.9 MB, free: 8.191 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.01077, allocations: 4 kB / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.01077, allocations: 0 / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.01078, allocations: 0 / 331.9 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.01091, allocations: 192.6 kB / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.01091, allocations: 0 / 332.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.246e-05/0.01093, allocations: 11.94 kB / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.01094, allocations: 64 / 332.1 MB, free: 7.945 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.655e-06/0.01094, allocations: 8 kB / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.01094, allocations: 0 / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.01095, allocations: 0 / 332.1 MB, free: 7.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.01109, allocations: 166.5 kB / 332.3 MB, free: 7.75 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.788e-05/0.01114, allocations: 35.78 kB / 332.3 MB, free: 7.715 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.01115, allocations: 4 kB / 332.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.605e-05/0.01119, allocations: 7.984 kB / 332.3 MB, free: 7.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-05/0.01122, allocations: 4 kB / 332.3 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.01123, allocations: 7.984 kB / 332.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001332/0.01137, allocations: 201.3 kB / 332.5 MB, free: 7.496 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01137, allocations: 7.938 kB / 332.5 MB, free: 7.488 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.01153, allocations: 28 kB / 332.6 MB, free: 7.461 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.0009623/0.01249, allocations: 1.036 MB / 333.6 MB, free: 6.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.01263, allocations: 59.91 kB / 333.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01263, allocations: 0 / 333.6 MB, free: 6.484 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.251e-05/0.01267, allocations: 31.92 kB / 333.7 MB, free: 6.453 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.01294, allocations: 64.48 kB / 333.7 MB, free: 6.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/0.01445, allocations: 1.914 MB / 335.7 MB, free: 4.367 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.903e-05/0.01454, allocations: 119.4 kB / 335.8 MB, free: 4.23 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.851e-05/0.01462, allocations: 25.81 kB / 335.8 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/0.01469, allocations: 52.48 kB / 335.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.01469, allocations: 0 / 335.8 MB, free: 4.152 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.03706, allocations: 5.512 MB / 341.4 MB, free: 14.68 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.9/6.937, allocations: 7.938 kB / 341.4 MB, free: 14.68 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample_fmu --startTime=0 --stopTime=0.09 --stepSize=1.79247e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_ShiftSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.653786578215659]