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.0008608/0.0008608, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004213/0.004213, allocations: 161 kB / 24.7 MB, free: 9.41 MB / 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 0.8727/0.8727, allocations: 177.1 MB / 205 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.263e-06/1.263e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.373e-05, allocations: 6.281 kB / 325.8 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.002757/0.00278, allocations: 1.883 MB / 327.7 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004325, allocations: 1.227 MB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.00444, allocations: 4 kB / 328.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.004788, allocations: 67.59 kB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003165/0.005104, allocations: 135.3 kB / 329.1 MB, free: 12.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.005575, allocations: 242.7 kB / 329.4 MB, free: 11.88 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002277/0.005802, allocations: 183.5 kB / 329.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.005919, allocations: 17.8 kB / 329.6 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.006035, allocations: 107.7 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.006134, allocations: 67.8 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.006155, allocations: 8 kB / 329.8 MB, free: 11.5 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.006287, allocations: 71.88 kB / 329.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.859e-05/0.006366, allocations: 55.83 kB / 329.9 MB, free: 11.37 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.776e-05/0.006424, allocations: 47.8 kB / 329.9 MB, free: 11.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002917/0.006715, allocations: 243.2 kB / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.006717, allocations: 0 / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.006719, allocations: 0 / 330.2 MB, free: 11.09 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.006724, allocations: 0 / 330.2 MB, free: 11.09 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.0005891/0.007313, allocations: 478.5 kB / 330.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.00735, allocations: 8.031 kB / 330.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.013e-05/0.0074, allocations: 24.8 kB / 330.7 MB, free: 10.55 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.007708, allocations: 236.7 kB / 330.9 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.604e-05/0.007724, allocations: 4.375 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.007737, allocations: 8.375 kB / 330.9 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.008044, allocations: 177 kB / 331.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.008056, allocations: 3.938 kB / 331.1 MB, free: 10.08 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.008068, allocations: 4 kB / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.008074, allocations: 0 / 331.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.008156, allocations: 39.92 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.008563, allocations: 326 kB / 331.4 MB, free: 9.68 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.008741, allocations: 119.8 kB / 331.6 MB, free: 9.535 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.008796, allocations: 38.56 kB / 331.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.008819, allocations: 11.94 kB / 331.6 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001382/0.008957, allocations: 79.38 kB / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of pre-optimization done (n=9): time 2.655e-06/0.00896, allocations: 0 / 331.7 MB, free: 9.387 MB / 298.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002934/0.009254, allocations: 165.4 kB / 331.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.737e-05/0.009321, allocations: 136.5 kB / 332 MB, free: 9.055 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.009563, allocations: 333.9 kB / 332.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.009579, allocations: 29.7 kB / 332.3 MB, free: 8.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.149e-05/0.00966, allocations: 132.1 kB / 332.5 MB, free: 8.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.165e-05/0.009682, allocations: 15.89 kB / 332.5 MB, free: 8.531 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.00972, allocations: 25.72 kB / 332.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.009816, allocations: 330.8 kB / 332.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.109e-05/0.009857, allocations: 23.98 kB / 332.9 MB, free: 8.145 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.826e-05/0.009925, allocations: 115 kB / 333 MB, free: 8.008 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.991e-05/0.01001, allocations: 65.62 kB / 333 MB, free: 7.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.01001, allocations: 4.25 kB / 333 MB, free: 7.934 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.01013, allocations: 113.5 kB / 333.1 MB, free: 7.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.01014, allocations: 4 kB / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01015, allocations: 0 / 333.1 MB, free: 7.812 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01016, allocations: 4 kB / 333.2 MB, free: 7.809 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.233e-05/0.01022, allocations: 11.94 kB / 333.2 MB, free: 7.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01023, allocations: 4 kB / 333.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.855e-05/0.01026, allocations: 11.98 kB / 333.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.01027, allocations: 4 kB / 333.2 MB, free: 7.777 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,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 9.453e-05/0.01037, allocations: 154.8 kB / 333.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.01071, allocations: 69.48 kB / 333.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.01088, allocations: 123.4 kB / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01088, allocations: 0 / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.01088, allocations: 0 / 333.5 MB, free: 7.422 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.01089, allocations: 7.984 kB / 333.5 MB, free: 7.414 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001177/0.01101, allocations: 189.3 kB / 333.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.01101, allocations: 0 / 333.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.99e-05/0.01105, allocations: 16 kB / 333.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01105, allocations: 0 / 333.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.01106, allocations: 0 / 333.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.776e-06/0.01106, allocations: 7.984 kB / 333.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01106, allocations: 0 / 333.7 MB, free: 7.176 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001508/0.01121, allocations: 174.5 kB / 333.9 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.223e-05/0.01126, allocations: 35.84 kB / 333.9 MB, free: 6.945 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.01128, allocations: 4 kB / 333.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.141e-05/0.01132, allocations: 11.98 kB / 334 MB, free: 6.93 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.01136, allocations: 11.98 kB / 334 MB, free: 6.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.01137, allocations: 4 kB / 334 MB, free: 6.914 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001589/0.01153, allocations: 245.2 kB / 334.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01153, allocations: 0 / 334.2 MB, free: 6.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001657/0.0117, allocations: 39.92 kB / 334.3 MB, free: 6.641 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,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.0006955/0.01239, allocations: 458 kB / 334.7 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000151/0.01255, allocations: 71.91 kB / 334.8 MB, free: 6.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.01255, allocations: 4.062 kB / 334.8 MB, free: 6.293 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.01259, allocations: 27.98 kB / 334.8 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01285, allocations: 67.81 kB / 334.9 MB, free: 6.199 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000445/0.01329, allocations: 417.8 kB / 335.3 MB, free: 5.758 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.99e-05/0.01338, allocations: 132.1 kB / 335.4 MB, free: 5.605 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.01342, allocations: 28.48 kB / 335.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of SimCode: time 3.71e-07/0.01342, allocations: 0 / 335.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of Templates: time 0.003358/0.01678, allocations: 3.019 MB / 338.5 MB, free: 2.566 MB / 298.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.495556393638253]