Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001106/0.001106, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001563/0.002669, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001016/0.001016, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0015/0.002515, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9925/0.9925, allocations: 177.5 MB / 190 MB, free: 4.762 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09102/1.084, allocations: 53.87 MB / 243.9 MB, free: 14.82 MB / 250.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: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.55e-05/1.695e-05, allocations: 2.312 kB / 245.2 MB, free: 13.54 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002213/0.00223, allocations: 1.611 MB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002353/0.002466, allocations: 144.2 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.492e-05/0.002531, allocations: 3.938 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.309e-05/0.002564, allocations: 3.938 kB / 247 MB, free: 11.77 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.969e-05/0.002623, allocations: 7.984 kB / 247 MB, free: 11.76 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.005787, allocations: 31.84 kB / 247 MB, free: 11.73 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.005872, allocations: 31.86 kB / 247 MB, free: 11.7 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.303e-05/0.005945, allocations: 15.97 kB / 247 MB, free: 11.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.98e-05/0.006005, allocations: 23.92 kB / 247.1 MB, free: 11.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.693e-05/0.006041, allocations: 7.984 kB / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.006062, allocations: 0 / 247.1 MB, free: 11.65 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.006072, allocations: 8 kB / 247.1 MB, free: 11.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.567e-05/0.006108, allocations: 11.94 kB / 247.1 MB, free: 11.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.721e-05/0.006125, allocations: 11.94 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.099e-05/0.006206, allocations: 27.84 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.107e-05/0.006217, allocations: 0 / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.006218, allocations: 0 / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.006226, allocations: 0 / 247.1 MB, free: 11.59 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.0003249/0.006551, allocations: 272.3 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.006584, allocations: 8.625 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.309e-05/0.006617, allocations: 4.938 kB / 247.4 MB, free: 11.29 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.006775, allocations: 133.7 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.206e-06/0.006783, allocations: 4.375 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.006793, allocations: 384 / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.006936, allocations: 94.36 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.006944, allocations: 4.125 kB / 247.6 MB, free: 11.01 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-06/0.006951, allocations: 4.375 kB / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.006956, allocations: 384 / 247.6 MB, free: 11 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.53e-05/0.006971, allocations: 19.86 kB / 247.7 MB, free: 10.98 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.007121, allocations: 149.1 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.857e-05/0.00716, allocations: 37.12 kB / 247.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.534e-05/0.007175, allocations: 13.84 kB / 247.9 MB, free: 10.75 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.454e-05/0.007189, allocations: 3.984 kB / 247.9 MB, free: 10.74 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.007212, allocations: 42.56 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.007213, allocations: 0 / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001004/0.007313, allocations: 37.64 kB / 247.9 MB, free: 10.65 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.007352, allocations: 88.97 kB / 248 MB, free: 10.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.115e-05/0.007424, allocations: 134 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.007433, allocations: 25.7 kB / 248.2 MB, free: 10.37 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.007463, allocations: 88.11 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.735e-06/0.007471, allocations: 4 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/0.007498, allocations: 17.67 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.007575, allocations: 318.8 kB / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-06/0.007581, allocations: 0 / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.338e-06/0.007585, allocations: 0 / 248.6 MB, free: 9.934 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.688e-05/0.007602, allocations: 12.84 kB / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.007604, allocations: 0 / 248.6 MB, free: 9.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.107e-05/0.007645, allocations: 37.7 kB / 248.7 MB, free: 9.875 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/0.007658, allocations: 8 kB / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.396e-06/0.007661, allocations: 0 / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.007671, allocations: 0 / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.991e-05/0.007711, allocations: 3.938 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.808e-06/0.007715, allocations: 4 kB / 248.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.446e-05/0.007729, allocations: 3.984 kB / 248.7 MB, free: 9.855 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.007733, allocations: 0 / 248.7 MB, free: 9.855 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.306e-05/0.007796, allocations: 108.7 kB / 248.8 MB, free: 9.738 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.007832, allocations: 37.73 kB / 248.8 MB, free: 9.695 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.00786, allocations: 11.8 kB / 248.8 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.007863, allocations: 4 kB / 248.8 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.007865, allocations: 3.938 kB / 248.8 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.007868, allocations: 0 / 248.8 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001004/0.007968, allocations: 77.81 kB / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007969, allocations: 0 / 248.9 MB, free: 9.582 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.205e-05/0.007991, allocations: 7.938 kB / 248.9 MB, free: 9.574 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.972e-05/0.008011, allocations: 4 kB / 248.9 MB, free: 9.57 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.008014, allocations: 4 kB / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-06/0.008018, allocations: 0 / 248.9 MB, free: 9.566 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.008019, allocations: 4.031 kB / 248.9 MB, free: 9.562 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.008022, allocations: 7.922 kB / 248.9 MB, free: 9.555 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.677e-05/0.008089, allocations: 132.4 kB / 249.1 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.044e-05/0.0081, allocations: 4 kB / 249.1 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.409e-05/0.008144, allocations: 3.984 kB / 249.1 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.037e-05/0.008164, allocations: 3.984 kB / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.008168, allocations: 0 / 249.1 MB, free: 9.395 MB / 250.7 MB Notification: Performance of sorting global known variables: time 2.656e-05/0.008194, allocations: 28.77 kB / 249.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008194, allocations: 0 / 249.1 MB, free: 9.363 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001644/0.008359, allocations: 4 kB / 249.1 MB, free: 9.359 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 0.003075/0.01143, allocations: 88.39 kB / 249.2 MB, free: 9.262 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.247e-05/0.01149, allocations: 8.859 kB / 249.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.01149, allocations: 0 / 249.2 MB, free: 9.25 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.0115, allocations: 8.859 kB / 249.2 MB, free: 9.238 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.01172, allocations: 83.62 kB / 249.3 MB, free: 9.141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.0121, allocations: 144 kB / 249.4 MB, free: 8.973 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.118e-05/0.01214, allocations: 67.28 kB / 249.5 MB, free: 8.887 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.475e-05/0.01216, allocations: 4 kB / 249.5 MB, free: 8.883 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.982e-05/0.01221, allocations: 51.38 kB / 249.6 MB, free: 8.832 MB / 250.7 MB Notification: Performance of SimCode: time 3.9e-07/0.01221, allocations: 3.938 kB / 249.6 MB, free: 8.828 MB / 250.7 MB Notification: Performance of Templates: time 0.002057/0.01426, allocations: 0.5074 MB / 250.1 MB, free: 8.336 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.3150617042556405]