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.001364/0.001364, allocations: 91.5 kB / 21.2 MB, free: 3.375 MB / 18.57 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.001524/0.001524, allocations: 160.5 kB / 24.55 MB, free: 20 kB / 18.57 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.9533/0.9533, allocations: 177 MB / 204.8 MB, free: 5.582 MB / 186.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.563e-06/1.563e-06, allocations: 0 / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.548e-05, allocations: 2.312 kB / 272.9 MB, free: 1.445 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001898/0.001923, allocations: 1.568 MB / 274.5 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002883/0.002211, allocations: 139.4 kB / 274.6 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.493e-05/0.002276, allocations: 8 kB / 274.6 MB, free: 15.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.131e-05/0.002318, allocations: 3.938 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.00242, allocations: 7.922 kB / 274.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002602, allocations: 35.84 kB / 274.7 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.246e-05/0.002685, allocations: 35.84 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.002759, allocations: 4 kB / 274.7 MB, free: 15.63 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.551e-05/0.002795, allocations: 11.98 kB / 274.7 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.04e-05/0.002825, allocations: 15.92 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.303e-05/0.002838, allocations: 0 / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.555e-05/0.002854, allocations: 4 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.002892, allocations: 11.94 kB / 274.7 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.82e-05/0.00291, allocations: 8 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.599e-05/0.002986, allocations: 31.83 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.002987, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.01e-07/0.002988, allocations: 0 / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.356e-06/0.002992, allocations: 0 / 274.8 MB, free: 15.55 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002869/0.003279, allocations: 388.4 kB / 275.2 MB, free: 15.13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.868e-05/0.003307, allocations: 11.98 kB / 275.2 MB, free: 15.12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.003334, allocations: 16.88 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.003457, allocations: 132.5 kB / 275.3 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.003464, allocations: 12.31 kB / 275.3 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.003474, allocations: 4.375 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.003631, allocations: 109.6 kB / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.003638, allocations: 192 / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.54e-06/0.003644, allocations: 384 / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.003649, allocations: 384 / 275.4 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.65e-05/0.003666, allocations: 11.94 kB / 275.5 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002046/0.00387, allocations: 267.4 kB / 275.7 MB, free: 14.49 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.827e-05/0.003909, allocations: 54.19 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.588e-05/0.003924, allocations: 19.31 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.003937, allocations: 4 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.003954, allocations: 37.45 kB / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.003954, allocations: 0 / 275.8 MB, free: 14.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002383/0.004193, allocations: 49.56 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.521e-05/0.004228, allocations: 81.11 kB / 276 MB, free: 14.18 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.085e-05/0.004309, allocations: 192.5 kB / 276.1 MB, free: 13.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.295e-06/0.004317, allocations: 25.95 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.845e-05/0.004355, allocations: 134.9 kB / 276.3 MB, free: 13.81 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.004362, allocations: 4 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.211e-05/0.004384, allocations: 15.38 kB / 276.3 MB, free: 13.78 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.746e-05/0.004482, allocations: 0.4923 MB / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.773e-06/0.004489, allocations: 0 / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.559e-06/0.004493, allocations: 0 / 276.8 MB, free: 13.28 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.804e-05/0.004511, allocations: 15.62 kB / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.004513, allocations: 0 / 276.8 MB, free: 13.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.874e-05/0.004551, allocations: 37.66 kB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004562, allocations: 15.22 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.004566, allocations: 3.938 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.004576, allocations: 0 / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.428e-05/0.004621, allocations: 3.984 kB / 276.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.004624, allocations: 4 kB / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.067e-05/0.004635, allocations: 0 / 276.9 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.045e-06/0.004638, allocations: 0 / 276.9 MB, free: 13.19 MB / 266.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 5.038e-05/0.004688, allocations: 156.6 kB / 277 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.004721, allocations: 41.53 kB / 277.1 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.246e-05/0.004754, allocations: 19.73 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.004755, allocations: 4.031 kB / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.135e-06/0.004757, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.00476, allocations: 0 / 277.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.211e-05/0.004852, allocations: 120.6 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.004854, allocations: 8 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.869e-05/0.004873, allocations: 4 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.004875, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.117e-06/0.004879, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.004883, allocations: 7.922 kB / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.004884, allocations: 0 / 277.2 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.602e-05/0.00497, allocations: 203.6 kB / 277.4 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.38e-05/0.004994, allocations: 19.88 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-06/0.005002, allocations: 0 / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.762e-05/0.005029, allocations: 7.938 kB / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.919e-05/0.005048, allocations: 0 / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.005051, allocations: 0 / 277.5 MB, free: 12.54 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.275e-05/0.005093, allocations: 139.2 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005094, allocations: 0 / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001234/0.005217, allocations: 4 kB / 277.6 MB, free: 12.39 MB / 266.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 5.935e-05/0.005276, allocations: 106.2 kB / 277.7 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.114e-05/0.005327, allocations: 15.69 kB / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.01e-07/0.005328, allocations: 0 / 277.7 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.457e-06/0.005338, allocations: 11.62 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.005518, allocations: 17.16 kB / 277.8 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000203/0.005721, allocations: 149.4 kB / 277.9 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.09e-05/0.005752, allocations: 59.34 kB / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.091e-05/0.005763, allocations: 224 / 278 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.974e-05/0.005782, allocations: 16.5 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of SimCode: time 3.9e-07/0.005783, allocations: 0 / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of Templates: time 0.001713/0.007496, allocations: 492.9 kB / 278.5 MB, free: 11.48 MB / 266.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8340812898240983]