Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001789/0.001789, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 209.6 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 47.92 kB / 378.2 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.378, allocations: 53.36 MB / 431.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003391/0.3814, allocations: 1.535 MB / 433.1 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005127/0.3819, allocations: 139.5 kB / 433.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.382, allocations: 4 kB / 433.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.088e-05/0.3821, allocations: 7.938 kB / 433.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.3822, allocations: 3.938 kB / 433.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002892/0.3825, allocations: 47.83 kB / 433.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000122/0.3826, allocations: 31.86 kB / 433.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.3828, allocations: 8 kB / 433.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.327e-05/0.3828, allocations: 23.91 kB / 433.4 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.3829, allocations: 7.938 kB / 433.4 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.3829, allocations: 4 kB / 433.4 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.3829, allocations: 4 kB / 433.4 MB, free: 4.902 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.383, allocations: 15.92 kB / 433.4 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.292e-05/0.383, allocations: 15.88 kB / 433.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.3832, allocations: 57.98 kB / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3832, allocations: 0 / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3832, allocations: 0 / 433.5 MB, free: 4.82 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.3832, allocations: 3.938 kB / 433.5 MB, free: 4.816 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.0005684/0.3838, allocations: 294.1 kB / 433.8 MB, free: 4.496 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.398e-05/0.3838, allocations: 12.03 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.639e-05/0.3839, allocations: 8.891 kB / 433.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003031/0.3842, allocations: 137.8 kB / 433.9 MB, free: 4.32 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3842, allocations: 4.375 kB / 433.9 MB, free: 4.316 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.3842, allocations: 8.375 kB / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003942/0.3846, allocations: 109.6 kB / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.3846, allocations: 192 / 434 MB, free: 4.184 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.3846, allocations: 3.938 kB / 434 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.3846, allocations: 3.984 kB / 434 MB, free: 4.176 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.768e-05/0.3847, allocations: 23.92 kB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.3851, allocations: 209.5 kB / 434.3 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002086/0.3853, allocations: 61.08 kB / 434.3 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.419e-05/0.3853, allocations: 29.77 kB / 434.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.3854, allocations: 3.938 kB / 434.4 MB, free: 3.797 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.3854, allocations: 38.56 kB / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3854, allocations: 0 / 434.4 MB, free: 3.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002636/0.3857, allocations: 73.56 kB / 434.5 MB, free: 3.672 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.3858, allocations: 85.22 kB / 434.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001784/0.3859, allocations: 138 kB / 434.7 MB, free: 3.422 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.386, allocations: 25.7 kB / 434.7 MB, free: 3.391 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.386, allocations: 88.14 kB / 434.8 MB, free: 3.301 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.386, allocations: 3.953 kB / 434.8 MB, free: 3.297 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.01e-05/0.3861, allocations: 29.64 kB / 434.8 MB, free: 3.262 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.3863, allocations: 310.8 kB / 435.1 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.3863, allocations: 15.92 kB / 435.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.026e-05/0.3864, allocations: 27.44 kB / 435.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.3865, allocations: 55.36 kB / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3865, allocations: 0 / 435.2 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001426/0.3866, allocations: 69.55 kB / 435.3 MB, free: 2.754 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.3866, allocations: 8 kB / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.3866, allocations: 0 / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3867, allocations: 0 / 435.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.494e-05/0.3867, allocations: 12.12 kB / 435.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3867, allocations: 3.984 kB / 435.3 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.621e-05/0.3868, allocations: 7.953 kB / 435.3 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.3868, allocations: 4 kB / 435.3 MB, free: 2.719 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.0001054/0.3869, allocations: 117.8 kB / 435.4 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.387, allocations: 49.62 kB / 435.5 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.202e-05/0.387, allocations: 12.34 kB / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.387, allocations: 0 / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.387, allocations: 0 / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.387, allocations: 0 / 435.5 MB, free: 2.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.3872, allocations: 121.2 kB / 435.6 MB, free: 2.371 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3872, allocations: 4 kB / 435.6 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.3872, allocations: 4 kB / 435.6 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3872, allocations: 7.938 kB / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3873, allocations: 0 / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3873, allocations: 0 / 435.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3873, allocations: 3.938 kB / 435.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.3875, allocations: 168.7 kB / 435.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.039e-05/0.3875, allocations: 19.95 kB / 435.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.3875, allocations: 3.984 kB / 435.8 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.229e-05/0.3876, allocations: 8 kB / 435.8 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.3877, allocations: 7.938 kB / 435.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.374e-06/0.3877, allocations: 3.984 kB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3878, allocations: 103.3 kB / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3878, allocations: 0 / 436 MB, free: 2.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002486/0.388, allocations: 4 kB / 436 MB, free: 2.02 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.0001137/0.3882, allocations: 99.19 kB / 436.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.3883, allocations: 35.97 kB / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.3883, allocations: 0 / 436.1 MB, free: 1.879 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.808e-05/0.3884, allocations: 11.94 kB / 436.1 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000352/0.3887, allocations: 22.59 kB / 436.1 MB, free: 1.848 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003613/0.3891, allocations: 158.3 kB / 436.3 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.594e-05/0.3892, allocations: 74.3 kB / 436.3 MB, free: 1.574 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.3892, allocations: 7.984 kB / 436.4 MB, free: 1.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.622e-05/0.3892, allocations: 15.69 kB / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3892, allocations: 0 / 436.4 MB, free: 1.551 MB / 334.1 MB Notification: Performance of Templates: time 0.003194/0.3924, allocations: 0.5467 MB / 436.9 MB, free: 1.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.712311974260956]