Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.001298/0.001298, allocations: 91.5 kB / 21.19 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.001465/0.001465, allocations: 160.5 kB / 24.56 MB, free: 16 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.9623/0.9623, allocations: 177 MB / 204.8 MB, free: 5.57 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.227e-05/3.435e-05, allocations: 5.266 kB / 272.9 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003382/0.003416, allocations: 1.576 MB / 274.5 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004889/0.003905, allocations: 147.4 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.004007, allocations: 8 kB / 274.6 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.865e-05/0.004076, allocations: 7.922 kB / 274.6 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001662/0.004242, allocations: 3.938 kB / 274.6 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.004533, allocations: 35.84 kB / 274.7 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001165/0.00465, allocations: 43.83 kB / 274.7 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.004756, allocations: 4 kB / 274.7 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.384e-05/0.00482, allocations: 19.98 kB / 274.7 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.716e-05/0.004867, allocations: 11.92 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.004892, allocations: 0 / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.706e-05/0.004909, allocations: 4 kB / 274.8 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.38e-05/0.004983, allocations: 15.92 kB / 274.8 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.379e-05/0.005027, allocations: 15.98 kB / 274.8 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001425/0.005169, allocations: 35.78 kB / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005172, allocations: 0 / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.005173, allocations: 0 / 274.8 MB, free: 15.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.005178, allocations: 0 / 274.8 MB, free: 15.5 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004887/0.005667, allocations: 400.3 kB / 275.2 MB, free: 15.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.005717, allocations: 11.98 kB / 275.2 MB, free: 15.06 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.066e-05/0.005768, allocations: 12.89 kB / 275.2 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.005975, allocations: 136.5 kB / 275.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.005987, allocations: 8.359 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.006002, allocations: 4.375 kB / 275.4 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.006305, allocations: 129.5 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.006317, allocations: 192 / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.006328, allocations: 384 / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.006338, allocations: 4.375 kB / 275.5 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.895e-05/0.006367, allocations: 7.938 kB / 275.5 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.006689, allocations: 271.4 kB / 275.8 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.00687, allocations: 66.17 kB / 275.9 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.674e-05/0.006917, allocations: 23.44 kB / 275.9 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.00694, allocations: 4 kB / 275.9 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.006969, allocations: 37.33 kB / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.00697, allocations: 0 / 275.9 MB, free: 14.23 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002021/0.007172, allocations: 65.52 kB / 276 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/0.00723, allocations: 85.09 kB / 276.1 MB, free: 14.06 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.007357, allocations: 188.9 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.007372, allocations: 33.83 kB / 276.3 MB, free: 13.82 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.103e-05/0.007433, allocations: 126.9 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.255e-05/0.007446, allocations: 11.95 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.41e-05/0.00748, allocations: 19.38 kB / 276.4 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.007625, allocations: 496.1 kB / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.908e-06/0.007635, allocations: 0 / 276.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-06/0.007645, allocations: 7.938 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.663e-05/0.007671, allocations: 11.69 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.007673, allocations: 0 / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.476e-05/0.007738, allocations: 41.7 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.007757, allocations: 7.125 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.007767, allocations: 3.938 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.007784, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.151e-05/0.007836, allocations: 4 kB / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.007842, allocations: 0 / 277 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/0.007861, allocations: 3.984 kB / 277 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.007865, allocations: 0 / 277 MB, free: 13.07 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 8.607e-05/0.007951, allocations: 156.6 kB / 277.2 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.473e-05/0.008026, allocations: 49.59 kB / 277.2 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.121e-05/0.008067, allocations: 20.3 kB / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.00807, allocations: 0 / 277.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.008074, allocations: 4 kB / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008077, allocations: 0 / 277.2 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.008239, allocations: 124.6 kB / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.008242, allocations: 240 / 277.4 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.00829, allocations: 11.98 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.008293, allocations: 0 / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.008301, allocations: 4 kB / 277.4 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.608e-06/0.008306, allocations: 7.938 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.008308, allocations: 3.984 kB / 277.4 MB, free: 12.65 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001476/0.008456, allocations: 211.5 kB / 277.6 MB, free: 12.42 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.746e-05/0.008493, allocations: 19.94 kB / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.008506, allocations: 0 / 277.6 MB, free: 12.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.008561, allocations: 3.938 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.349e-05/0.008594, allocations: 4 kB / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-06/0.008599, allocations: 0 / 277.6 MB, free: 12.39 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.507e-05/0.008664, allocations: 139.2 kB / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008664, allocations: 0 / 277.7 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002405/0.008904, allocations: 4 kB / 277.8 MB, free: 12.25 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: 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 0.0001047/0.009009, allocations: 103.2 kB / 277.9 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.616e-05/0.009105, allocations: 15.69 kB / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.009107, allocations: 0 / 277.9 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.845e-05/0.009125, allocations: 19.56 kB / 277.9 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.009473, allocations: 17.72 kB / 277.9 MB, free: 12.07 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003508/0.009824, allocations: 164.7 kB / 278.1 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.009871, allocations: 59.34 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.906e-05/0.00989, allocations: 4 kB / 278.1 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.377e-05/0.009924, allocations: 12.62 kB / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of SimCode: time 9.42e-07/0.009924, allocations: 0 / 278.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002967/0.01289, allocations: 0.5238 MB / 278.7 MB, free: 11.27 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.883189223241061]