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.001572/0.001572, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001741/0.001741, allocations: 207.8 kB / 23.73 MB, free: 4.391 MB / 14.72 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 1.571/1.571, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002208/0.002208, allocations: 59.84 kB / 378.2 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.3157, allocations: 53.41 MB / 431.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.004859/0.3206, allocations: 1.532 MB / 433.2 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006199/0.3212, allocations: 135.5 kB / 433.3 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3213, allocations: 7.938 kB / 433.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.381e-05/0.3214, allocations: 3.938 kB / 433.3 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001661/0.3215, allocations: 7.922 kB / 433.3 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.3219, allocations: 35.91 kB / 433.3 MB, free: 4.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.322, allocations: 35.86 kB / 433.4 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3222, allocations: 11.98 kB / 433.4 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.807e-05/0.3222, allocations: 11.94 kB / 433.4 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.004e-05/0.3223, allocations: 11.92 kB / 433.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.3223, allocations: 4 kB / 433.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.41e-05/0.3223, allocations: 8 kB / 433.4 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.3224, allocations: 19.91 kB / 433.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.366e-05/0.3225, allocations: 15.88 kB / 433.5 MB, free: 4.695 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3226, allocations: 51.36 kB / 433.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3226, allocations: 0 / 433.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3226, allocations: 0 / 433.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.804e-06/0.3226, allocations: 0 / 433.5 MB, free: 4.648 MB / 334.1 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.0006757/0.3233, allocations: 292.7 kB / 433.8 MB, free: 4.332 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.3234, allocations: 15.98 kB / 433.8 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.131e-05/0.3234, allocations: 8.891 kB / 433.8 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003841/0.3238, allocations: 142.3 kB / 434 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.3238, allocations: 4.375 kB / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.295e-05/0.3238, allocations: 384 / 434 MB, free: 4.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004523/0.3243, allocations: 117.5 kB / 434.1 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.3243, allocations: 4.172 kB / 434.1 MB, free: 4.004 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.3243, allocations: 3.938 kB / 434.1 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.3243, allocations: 7.938 kB / 434.1 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.3245, allocations: 19.98 kB / 434.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.3249, allocations: 205.4 kB / 434.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3251, allocations: 57.2 kB / 434.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.607e-05/0.3252, allocations: 29.77 kB / 434.4 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.3252, allocations: 7.875 kB / 434.4 MB, free: 3.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.3253, allocations: 30.56 kB / 434.4 MB, free: 3.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.483e-06/0.3253, allocations: 4 kB / 434.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003656/0.3256, allocations: 77.56 kB / 434.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.126e-05/0.3257, allocations: 85.11 kB / 434.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/0.3259, allocations: 137.6 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.326, allocations: 29.69 kB / 434.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.99e-05/0.326, allocations: 92.08 kB / 434.9 MB, free: 3.121 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.897e-05/0.3261, allocations: 3.953 kB / 434.9 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.3261, allocations: 17.72 kB / 434.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000284/0.3264, allocations: 318.8 kB / 435.2 MB, free: 2.773 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.657e-05/0.3265, allocations: 8.125 kB / 435.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.3266, allocations: 35.42 kB / 435.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001335/0.3267, allocations: 47.36 kB / 435.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.3267, allocations: 0 / 435.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002082/0.3269, allocations: 69.59 kB / 435.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.3269, allocations: 12.03 kB / 435.4 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.3269, allocations: 3.984 kB / 435.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.3269, allocations: 0 / 435.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.327, allocations: 8 kB / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.327, allocations: 0 / 435.4 MB, free: 2.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.277e-05/0.3271, allocations: 7.953 kB / 435.4 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3271, allocations: 4 kB / 435.4 MB, free: 2.551 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (step.y,sample1.y,assignClock.y,assignClock.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001343/0.3272, allocations: 121.8 kB / 435.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002087/0.3274, allocations: 53.56 kB / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.21e-05/0.3275, allocations: 16.34 kB / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3275, allocations: 0 / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3275, allocations: 0 / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.3275, allocations: 0 / 435.6 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.3277, allocations: 113.3 kB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/0.3278, allocations: 4 kB / 435.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.291e-05/0.3278, allocations: 7.984 kB / 435.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.3278, allocations: 7.938 kB / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.3279, allocations: 0 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3279, allocations: 0 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.3279, allocations: 336 / 435.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002995/0.3282, allocations: 180.3 kB / 435.9 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.89e-05/0.3282, allocations: 15.88 kB / 435.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.317e-05/0.3282, allocations: 3.984 kB / 435.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.3283, allocations: 4 kB / 435.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.3284, allocations: 4 kB / 435.9 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.3284, allocations: 3.938 kB / 435.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3285, allocations: 107.2 kB / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3285, allocations: 0 / 436 MB, free: 1.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004095/0.3289, allocations: 4 kB / 436 MB, free: 1.844 MB / 334.1 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.0001469/0.3291, allocations: 99.25 kB / 436.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001959/0.3293, allocations: 27.92 kB / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3293, allocations: 0 / 436.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.166e-05/0.3293, allocations: 7.984 kB / 436.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/0.3299, allocations: 22.78 kB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005135/0.3304, allocations: 162.2 kB / 436.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3306, allocations: 79.64 kB / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.566e-05/0.3306, allocations: 0 / 436.4 MB, free: 1.398 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.727e-05/0.3306, allocations: 7.438 kB / 436.4 MB, free: 1.391 MB / 334.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3306, allocations: 4 kB / 436.4 MB, free: 1.387 MB / 334.1 MB Notification: Performance of Templates: time 0.004888/0.3355, allocations: 0.5427 MB / 437 MB, free: 0.8594 MB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.587514389306307]