Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001906/0.001906, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002415/0.002415, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 177.1 MB / 204.6 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5025,variableFilter="time|sample1.y|shiftSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.798e-05/2.979e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003844/0.003874, allocations: 1.893 MB / 274.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002469/0.006343, allocations: 1.215 MB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.006456, allocations: 7.938 kB / 275.4 MB, free: 14.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.006799, allocations: 67.55 kB / 275.5 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004014/0.0072, allocations: 139.4 kB / 275.6 MB, free: 14.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007005/0.007901, allocations: 227.1 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000292/0.008193, allocations: 183.5 kB / 276 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.008291, allocations: 17.8 kB / 276 MB, free: 14.07 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001863/0.008477, allocations: 107.7 kB / 276.2 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000138/0.008615, allocations: 75.78 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.63e-05/0.008642, allocations: 8 kB / 276.2 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001731/0.008815, allocations: 71.88 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.267e-05/0.008908, allocations: 51.84 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.054e-05/0.008988, allocations: 47.72 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.009376, allocations: 251.2 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.009379, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.00938, allocations: 3.938 kB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.009385, allocations: 0 / 276.6 MB, free: 13.47 MB / 266.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.0007975/0.01018, allocations: 470.6 kB / 277.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.01022, allocations: 8.031 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.83e-05/0.01031, allocations: 28.8 kB / 277.1 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.01077, allocations: 244.7 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.01078, allocations: 4.375 kB / 277.4 MB, free: 12.67 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.01081, allocations: 12.38 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.01121, allocations: 177 kB / 277.6 MB, free: 12.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.01122, allocations: 3.938 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.01124, allocations: 0 / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.01125, allocations: 4 kB / 277.6 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.01139, allocations: 35.92 kB / 277.6 MB, free: 12.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.01194, allocations: 318.1 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002935/0.01223, allocations: 123.8 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.01236, allocations: 50.5 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.01239, allocations: 4 kB / 278.1 MB, free: 11.86 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.01258, allocations: 79.38 kB / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.01258, allocations: 0 / 278.2 MB, free: 11.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004668/0.01304, allocations: 169.6 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.01315, allocations: 132.5 kB / 278.5 MB, free: 11.43 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.01359, allocations: 337.9 kB / 278.8 MB, free: 11.1 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.01362, allocations: 29.7 kB / 278.8 MB, free: 11.06 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.01374, allocations: 128.1 kB / 279 MB, free: 10.93 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.01377, allocations: 19.89 kB / 279 MB, free: 10.91 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.315e-05/0.01382, allocations: 21.72 kB / 279 MB, free: 10.89 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.01402, allocations: 334.8 kB / 279.3 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.578e-05/0.01409, allocations: 23.98 kB / 279.3 MB, free: 10.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.01424, allocations: 106.8 kB / 279.5 MB, free: 10.4 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001633/0.0144, allocations: 73.62 kB / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.0144, allocations: 0 / 279.5 MB, free: 10.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002535/0.01465, allocations: 113.5 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.01467, allocations: 4 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01467, allocations: 3.938 kB / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01469, allocations: 0 / 279.6 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.01479, allocations: 16 kB / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.01479, allocations: 0 / 279.7 MB, free: 10.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.591e-05/0.01487, allocations: 7.984 kB / 279.7 MB, free: 10.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.01488, allocations: 8.031 kB / 279.7 MB, free: 10.16 MB / 266.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,table.y) * 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 0.0001634/0.01504, allocations: 149.7 kB / 279.8 MB, free: 10.01 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.01517, allocations: 77.48 kB / 279.9 MB, free: 9.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003127/0.01548, allocations: 123.5 kB / 280 MB, free: 9.793 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/0.01549, allocations: 4 kB / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.0155, allocations: 0 / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.0155, allocations: 0 / 280 MB, free: 9.789 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.01573, allocations: 181.1 kB / 280.2 MB, free: 9.582 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01573, allocations: 4.312 kB / 280.2 MB, free: 9.578 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.01581, allocations: 23.98 kB / 280.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.01581, allocations: 0 / 280.2 MB, free: 9.555 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.01583, allocations: 11.98 kB / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.01583, allocations: 0 / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01583, allocations: 0 / 280.2 MB, free: 9.543 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.01619, allocations: 178.5 kB / 280.4 MB, free: 9.344 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.451e-05/0.01627, allocations: 31.84 kB / 280.4 MB, free: 9.312 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.073e-05/0.01631, allocations: 4 kB / 280.4 MB, free: 9.309 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.01639, allocations: 11.98 kB / 280.5 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.01645, allocations: 7.984 kB / 280.5 MB, free: 9.289 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.01647, allocations: 8 kB / 280.5 MB, free: 9.281 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003016/0.01677, allocations: 245.2 kB / 280.7 MB, free: 9.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01677, allocations: 4 kB / 280.7 MB, free: 9.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.01706, allocations: 35.92 kB / 280.8 MB, free: 9.004 MB / 266.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,table.y,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.002054/0.01911, allocations: 466.2 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004494/0.01956, allocations: 63.91 kB / 281.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01956, allocations: 0 / 281.3 MB, free: 8.664 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.296e-05/0.01965, allocations: 32.05 kB / 281.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.02009, allocations: 61.75 kB / 281.4 MB, free: 8.566 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.02081, allocations: 393.8 kB / 281.7 MB, free: 8.148 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001566/0.02096, allocations: 127.9 kB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.55e-05/0.02106, allocations: 29.81 kB / 281.9 MB, free: 7.977 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.02112, allocations: 28.48 kB / 281.9 MB, free: 7.949 MB / 266.7 MB Notification: Performance of SimCode: time 5.61e-07/0.02112, allocations: 4 kB / 281.9 MB, free: 7.945 MB / 266.7 MB Notification: Performance of Templates: time 0.007547/0.02867, allocations: 3.043 MB / 285 MB, free: 4.953 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/ShiftSample/ShiftSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 4.455949380993843]