Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.0008407/0.0008407, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.001968, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0006797/0.0006797, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009039/0.001584, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.001/1.001, allocations: 177.2 MB / 189.8 MB, free: 5.266 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1281/1.129, allocations: 53.65 MB / 243.4 MB, free: 15.53 MB / 250.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.801e-05/2.021e-05, allocations: 2.312 kB / 244.7 MB, free: 14.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002936/0.002956, allocations: 1.634 MB / 246.3 MB, free: 12.6 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.003294, allocations: 148.1 kB / 246.5 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.003386, allocations: 3.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.202e-05/0.003438, allocations: 3.938 kB / 246.5 MB, free: 12.45 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 9.569e-05/0.003534, allocations: 8 kB / 246.5 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.003755, allocations: 39.77 kB / 246.5 MB, free: 12.4 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.003889, allocations: 31.92 kB / 246.6 MB, free: 12.37 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.004001, allocations: 11.98 kB / 246.6 MB, free: 12.36 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.445e-05/0.004095, allocations: 27.91 kB / 246.6 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.238e-05/0.004158, allocations: 15.94 kB / 246.6 MB, free: 12.32 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.244e-05/0.00419, allocations: 4 kB / 246.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.004205, allocations: 0 / 246.6 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.176e-05/0.004277, allocations: 15.98 kB / 246.6 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.721e-05/0.004304, allocations: 11.94 kB / 246.6 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.004445, allocations: 31.84 kB / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.004457, allocations: 0 / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004458, allocations: 0 / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.455e-05/0.004473, allocations: 0 / 246.7 MB, free: 12.25 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005384/0.005011, allocations: 280.3 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.00506, allocations: 12.03 kB / 247 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.005105, allocations: 8.922 kB / 247 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.005336, allocations: 133.6 kB / 247.1 MB, free: 11.78 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.005351, allocations: 4.375 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.005368, allocations: 4.375 kB / 247.1 MB, free: 11.77 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.005632, allocations: 114.2 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.005643, allocations: 8.188 kB / 247.2 MB, free: 11.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.005654, allocations: 4.375 kB / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.005662, allocations: 384 / 247.2 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.356e-05/0.005686, allocations: 11.88 kB / 247.2 MB, free: 11.61 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.005936, allocations: 145.2 kB / 247.4 MB, free: 11.45 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.006109, allocations: 53.08 kB / 247.4 MB, free: 11.38 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.386e-05/0.006143, allocations: 21.75 kB / 247.5 MB, free: 11.36 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.006166, allocations: 4 kB / 247.5 MB, free: 11.35 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.18e-05/0.006197, allocations: 30.56 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 3.617e-06/0.006201, allocations: 4 kB / 247.5 MB, free: 11.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001716/0.006373, allocations: 53.61 kB / 247.5 MB, free: 11.25 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.006439, allocations: 85.05 kB / 247.6 MB, free: 11.15 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/0.006549, allocations: 130.7 kB / 247.8 MB, free: 11.01 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006563, allocations: 25.7 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.006609, allocations: 80.14 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.263e-05/0.006622, allocations: 7.891 kB / 247.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.695e-05/0.006659, allocations: 21.7 kB / 247.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.006775, allocations: 318.8 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.001e-05/0.006785, allocations: 4 kB / 248.2 MB, free: 10.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-06/0.006793, allocations: 8.062 kB / 248.2 MB, free: 10.53 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.174e-05/0.006815, allocations: 8.859 kB / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.006818, allocations: 0 / 248.2 MB, free: 10.52 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.564e-05/0.006873, allocations: 29.7 kB / 248.3 MB, free: 10.48 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.006891, allocations: 8 kB / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.006895, allocations: 0 / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.006911, allocations: 0 / 248.3 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.006962, allocations: 11.86 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.006967, allocations: 4 kB / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.719e-05/0.006984, allocations: 96 / 248.3 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.00699, allocations: 4 kB / 248.3 MB, free: 10.45 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 7.846e-05/0.007068, allocations: 112.7 kB / 248.4 MB, free: 10.33 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.303e-05/0.007131, allocations: 37.69 kB / 248.4 MB, free: 10.29 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.084e-05/0.007172, allocations: 8.344 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.007175, allocations: 4 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.00718, allocations: 3.938 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.007184, allocations: 0 / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.007309, allocations: 73.88 kB / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.00731, allocations: 0 / 248.5 MB, free: 10.18 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.007364, allocations: 11.98 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.007399, allocations: 19.89 kB / 248.5 MB, free: 10.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.007403, allocations: 4 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.007408, allocations: 0 / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.007411, allocations: 3.938 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.007414, allocations: 3.938 kB / 248.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.737e-05/0.007512, allocations: 132.4 kB / 248.7 MB, free: 9.988 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.007526, allocations: 4 kB / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.221e-05/0.007579, allocations: 0 / 248.7 MB, free: 9.984 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.007611, allocations: 3.984 kB / 248.7 MB, free: 9.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-06/0.00762, allocations: 8 kB / 248.7 MB, free: 9.973 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.651e-05/0.007656, allocations: 32.45 kB / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.007656, allocations: 0 / 248.7 MB, free: 9.941 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001917/0.007848, allocations: 4 kB / 248.7 MB, free: 9.938 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 Backend phase and start with SimCode phase: time 9.727e-05/0.007945, allocations: 76.42 kB / 248.8 MB, free: 9.852 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.36e-05/0.008029, allocations: 20.73 kB / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.008034, allocations: 0 / 248.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.059e-05/0.008054, allocations: 12.86 kB / 248.8 MB, free: 9.812 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.008356, allocations: 83.19 kB / 248.9 MB, free: 9.719 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005304/0.008887, allocations: 175.2 kB / 249.1 MB, free: 9.523 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.245e-05/0.008939, allocations: 59.34 kB / 249.2 MB, free: 9.445 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 2.235e-05/0.008962, allocations: 4 kB / 249.2 MB, free: 9.441 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.488e-05/0.009036, allocations: 59.3 kB / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of SimCode: time 7.51e-07/0.009037, allocations: 0 / 249.2 MB, free: 9.383 MB / 250.7 MB Notification: Performance of Templates: time 0.003323/0.01236, allocations: 0.5394 MB / 249.8 MB, free: 8.855 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.624062929302454]