Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.001285/0.001285, allocations: 106.9 kB / 19.8 MB, free: 2.496 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.001602/0.001602, allocations: 218.8 kB / 23 MB, free: 5.586 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.544/1.544, allocations: 230.2 MB / 256.2 MB, free: 8.539 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.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 63.89 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.375, allocations: 53.32 MB / 429.8 MB, free: 7.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00309/0.3781, allocations: 1.605 MB / 431.4 MB, free: 5.914 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001063/0.3791, allocations: 0.5415 MB / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.082e-05/0.3792, allocations: 0 / 431.9 MB, free: 5.367 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.626e-05/0.3793, allocations: 7.922 kB / 432 MB, free: 5.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000152/0.3794, allocations: 15.86 kB / 432 MB, free: 5.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003087/0.3797, allocations: 51.83 kB / 432 MB, free: 5.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.3799, allocations: 47.84 kB / 432.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.38, allocations: 15.98 kB / 432.1 MB, free: 5.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.3801, allocations: 27.86 kB / 432.1 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.537e-05/0.3801, allocations: 23.86 kB / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.309e-05/0.3802, allocations: 0 / 432.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.008e-05/0.3802, allocations: 11.98 kB / 432.1 MB, free: 5.168 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.423e-05/0.3802, allocations: 11.94 kB / 432.2 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.3803, allocations: 27.8 kB / 432.2 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000159/0.3804, allocations: 51.47 kB / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3805, allocations: 0 / 432.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3805, allocations: 3.938 kB / 432.2 MB, free: 5.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.3805, allocations: 0 / 432.2 MB, free: 5.078 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.0005747/0.381, allocations: 388.7 kB / 432.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.3811, allocations: 8.031 kB / 432.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001678/0.3812, allocations: 20.88 kB / 432.6 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.3815, allocations: 204.1 kB / 432.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.3815, allocations: 4.375 kB / 432.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.3815, allocations: 4.375 kB / 432.9 MB, free: 4.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3818, allocations: 117.3 kB / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3818, allocations: 0 / 433 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3818, allocations: 4 kB / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3818, allocations: 0 / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.272e-05/0.3819, allocations: 23.92 kB / 433 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3823, allocations: 265.8 kB / 433.3 MB, free: 3.906 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3825, allocations: 142.2 kB / 433.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.07e-05/0.3826, allocations: 29.77 kB / 433.4 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3826, allocations: 4 kB / 433.4 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.25e-05/0.3826, allocations: 30.56 kB / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.422e-06/0.3826, allocations: 0 / 433.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002712/0.3829, allocations: 81.56 kB / 433.5 MB, free: 3.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.384e-05/0.3829, allocations: 81.11 kB / 433.6 MB, free: 3.469 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.3831, allocations: 145 kB / 433.8 MB, free: 3.316 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.634e-05/0.3831, allocations: 25.7 kB / 433.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/0.3831, allocations: 96.03 kB / 433.9 MB, free: 3.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.3832, allocations: 4 kB / 433.9 MB, free: 3.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.676e-05/0.3832, allocations: 21.64 kB / 433.9 MB, free: 3.156 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.3833, allocations: 314.8 kB / 434.2 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.535e-05/0.3834, allocations: 11.98 kB / 434.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.581e-05/0.3834, allocations: 39.38 kB / 434.3 MB, free: 2.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.771e-05/0.3835, allocations: 47.3 kB / 434.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3835, allocations: 0 / 434.3 MB, free: 2.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001378/0.3837, allocations: 77.56 kB / 434.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3837, allocations: 6.5 kB / 434.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3837, allocations: 4 kB / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.3837, allocations: 0 / 434.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.64e-05/0.3838, allocations: 12.27 kB / 434.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3838, allocations: 3.984 kB / 434.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.3838, allocations: 4 kB / 434.4 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3838, allocations: 0 / 434.4 MB, free: 2.609 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: 0 () * 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 9.784e-05/0.3839, allocations: 133.8 kB / 434.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.814e-05/0.384, allocations: 49.64 kB / 434.6 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.802e-05/0.384, allocations: 16.17 kB / 434.6 MB, free: 2.387 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.384, allocations: 4 kB / 434.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.546e-06/0.384, allocations: 0 / 434.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.384, allocations: 0 / 434.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.3842, allocations: 173.6 kB / 434.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3842, allocations: 0 / 434.8 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.788e-05/0.3843, allocations: 15.98 kB / 434.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3843, allocations: 4 kB / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.3843, allocations: 0 / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.3843, allocations: 0 / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.3843, allocations: 0 / 434.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.3845, allocations: 176.2 kB / 435 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.768e-05/0.3846, allocations: 93.05 kB / 435.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.3846, allocations: 0 / 435.1 MB, free: 1.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.024e-05/0.3847, allocations: 8 kB / 435.1 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/0.3847, allocations: 7.984 kB / 435.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.3847, allocations: 0 / 435.1 MB, free: 1.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.734e-05/0.3848, allocations: 103.3 kB / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3848, allocations: 0 / 435.2 MB, free: 1.727 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.385, allocations: 11.95 kB / 435.2 MB, free: 1.715 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: 0 () * 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.0001217/0.3851, allocations: 103.2 kB / 435.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00016/0.3853, allocations: 35.92 kB / 435.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3853, allocations: 0 / 435.3 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.185e-05/0.3853, allocations: 11.98 kB / 435.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003456/0.3857, allocations: 22.31 kB / 435.4 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003736/0.3861, allocations: 179.4 kB / 435.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003474/0.3864, allocations: 0.6966 MB / 436.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.948e-05/0.3864, allocations: 0 / 436.2 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.036e-05/0.3865, allocations: 11.44 kB / 436.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.3865, allocations: 0 / 436.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of Templates: time 0.003175/0.3897, allocations: 0.5384 MB / 436.8 MB, free: 68 kB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 5.001673951745033]