Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001598/0.001598, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001856/0.003454, allocations: 449.7 kB / 10.37 MB, free: 328 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.001109/0.001109, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001407/0.002516, allocations: 455.6 kB / 11.71 MB, free: 2.461 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 0.9991/0.9991, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09452/1.094, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.613e-05, allocations: 9.062 kB / 244.5 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002894/0.00292, allocations: 1.611 MB / 246.1 MB, free: 12.71 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000272/0.003192, allocations: 148.1 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.543e-05/0.003268, allocations: 3.938 kB / 246.3 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.061e-05/0.003308, allocations: 7.922 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.281e-05/0.003381, allocations: 4 kB / 246.3 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.003565, allocations: 31.91 kB / 246.3 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.941e-05/0.003654, allocations: 27.86 kB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.003734, allocations: 15.98 kB / 246.4 MB, free: 12.48 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.992e-05/0.003794, allocations: 15.98 kB / 246.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.261e-05/0.003837, allocations: 19.86 kB / 246.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.003859, allocations: 4 kB / 246.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-06/0.003868, allocations: 0 / 246.4 MB, free: 12.44 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.162e-05/0.00391, allocations: 15.92 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.086e-05/0.003931, allocations: 4 kB / 246.4 MB, free: 12.42 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 9.312e-05/0.004024, allocations: 27.86 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.578e-05/0.00404, allocations: 3.938 kB / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004041, allocations: 0 / 246.4 MB, free: 12.39 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.59e-05/0.004056, allocations: 4 kB / 246.4 MB, free: 12.38 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004004/0.004457, allocations: 268.4 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.004496, allocations: 12.02 kB / 246.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3e-05/0.004526, allocations: 4.938 kB / 246.7 MB, free: 12.08 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.004683, allocations: 125.7 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.004694, allocations: 4.375 kB / 246.9 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.004704, allocations: 8.312 kB / 246.9 MB, free: 11.92 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001645/0.004869, allocations: 90.38 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.004876, allocations: 192 / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.004883, allocations: 4.375 kB / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.004888, allocations: 384 / 247 MB, free: 11.8 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.885e-05/0.004907, allocations: 11.88 kB / 247 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.005091, allocations: 157 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.862e-05/0.005139, allocations: 45.12 kB / 247.2 MB, free: 11.56 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.662e-05/0.005156, allocations: 13.84 kB / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.005172, allocations: 0 / 247.2 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.247e-05/0.005195, allocations: 34.56 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.005196, allocations: 4 kB / 247.2 MB, free: 11.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001094/0.005305, allocations: 41.62 kB / 247.3 MB, free: 11.45 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.005351, allocations: 81.05 kB / 247.3 MB, free: 11.35 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.094e-05/0.005432, allocations: 142 kB / 247.5 MB, free: 11.2 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.005444, allocations: 25.7 kB / 247.5 MB, free: 11.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.005477, allocations: 84.08 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/0.005484, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.005513, allocations: 21.69 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.101e-05/0.005594, allocations: 314.8 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-06/0.005601, allocations: 4.25 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.152e-06/0.005607, allocations: 0 / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.741e-05/0.005625, allocations: 8.859 kB / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005627, allocations: 0 / 247.9 MB, free: 10.72 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.913e-05/0.005676, allocations: 37.69 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.00569, allocations: 8 kB / 248 MB, free: 10.67 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.005696, allocations: 7.922 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/0.005704, allocations: 0 / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.339e-05/0.005757, allocations: 3.938 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-06/0.005759, allocations: 4.094 kB / 248 MB, free: 10.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.553e-05/0.005775, allocations: 7.953 kB / 248 MB, free: 10.65 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.00578, allocations: 4 kB / 248 MB, free: 10.64 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 6.068e-05/0.005841, allocations: 116.7 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.724e-05/0.005878, allocations: 29.7 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.005905, allocations: 3.812 kB / 248.1 MB, free: 10.48 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.005908, allocations: 4 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.005914, allocations: 3.938 kB / 248.1 MB, free: 10.47 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.005919, allocations: 3.984 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001063/0.006025, allocations: 69.89 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.006026, allocations: 4.031 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.486e-05/0.006061, allocations: 11.98 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.431e-05/0.006085, allocations: 4 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.006088, allocations: 4 kB / 248.2 MB, free: 10.36 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.586e-06/0.006091, allocations: 3.938 kB / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.006092, allocations: 0 / 248.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.006094, allocations: 3.938 kB / 248.3 MB, free: 10.35 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.006169, allocations: 132.4 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.818e-06/0.006178, allocations: 4 kB / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.292e-05/0.006221, allocations: 0 / 248.4 MB, free: 10.2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.046e-05/0.006242, allocations: 4.031 kB / 248.4 MB, free: 10.19 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.006247, allocations: 7.984 kB / 248.4 MB, free: 10.18 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.721e-05/0.006274, allocations: 28.72 kB / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.006274, allocations: 0 / 248.4 MB, free: 10.15 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001652/0.00644, allocations: 4 kB / 248.4 MB, free: 10.15 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: 2 (step.y,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 8.081e-05/0.006521, allocations: 80.41 kB / 248.5 MB, free: 10.06 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.356e-05/0.006574, allocations: 12.8 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.006578, allocations: 4 kB / 248.5 MB, free: 10.04 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.053e-05/0.006589, allocations: 8.922 kB / 248.5 MB, free: 10.03 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002126/0.006801, allocations: 19.27 kB / 248.6 MB, free: 10.01 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/0.00721, allocations: 151.6 kB / 248.7 MB, free: 9.832 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.84e-05/0.007248, allocations: 59.34 kB / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.593e-05/0.007264, allocations: 0 / 248.8 MB, free: 9.754 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.007315, allocations: 55.36 kB / 248.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of SimCode: time 6.81e-07/0.007316, allocations: 0 / 248.8 MB, free: 9.699 MB / 250.7 MB Notification: Performance of Templates: time 0.002338/0.009654, allocations: 0.5001 MB / 249.3 MB, free: 9.203 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.564218516461551]