Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.001359/0.001359, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001526/0.001526, allocations: 211.8 kB / 23.73 MB, free: 4.16 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.474/1.474, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.84 kB / 378.2 MB, free: 2.488 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3111, allocations: 53.35 MB / 431.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.002836/0.314, allocations: 1.578 MB / 433.1 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.3149, allocations: 0.5025 MB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.936e-05/0.315, allocations: 4 kB / 433.6 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.287e-05/0.315, allocations: 11.92 kB / 433.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.3151, allocations: 7.875 kB / 433.7 MB, free: 4.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.3154, allocations: 59.81 kB / 433.7 MB, free: 4.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.3155, allocations: 43.86 kB / 433.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.004e-05/0.3156, allocations: 16.16 kB / 433.8 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.3157, allocations: 27.88 kB / 433.8 MB, free: 4.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.3158, allocations: 11.92 kB / 433.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.3158, allocations: 4 kB / 433.8 MB, free: 4.469 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.078e-05/0.3158, allocations: 11.98 kB / 433.8 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.072e-05/0.3159, allocations: 19.92 kB / 433.9 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.309e-05/0.3159, allocations: 27.8 kB / 433.9 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.316, allocations: 57.94 kB / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.316, allocations: 0 / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.316, allocations: 0 / 433.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.316, allocations: 0 / 433.9 MB, free: 4.359 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004573/0.3165, allocations: 309.9 kB / 434.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.3165, allocations: 12.03 kB / 434.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001419/0.3167, allocations: 16.88 kB / 434.3 MB, free: 4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3169, allocations: 137 kB / 434.4 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.3169, allocations: 8.375 kB / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.3169, allocations: 384 / 434.4 MB, free: 3.836 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3172, allocations: 113.1 kB / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.3172, allocations: 0 / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-06/0.3172, allocations: 0 / 434.5 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3172, allocations: 3.938 kB / 434.5 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.806e-05/0.3173, allocations: 27.97 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002893/0.3176, allocations: 213.4 kB / 434.8 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.019e-05/0.3177, allocations: 49.08 kB / 434.8 MB, free: 3.367 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.3177, allocations: 17.78 kB / 434.8 MB, free: 3.344 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.813e-05/0.3177, allocations: 3.984 kB / 434.8 MB, free: 3.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3178, allocations: 34.56 kB / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3178, allocations: 0 / 434.9 MB, free: 3.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.318, allocations: 77.59 kB / 434.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.601e-05/0.3181, allocations: 81.11 kB / 435 MB, free: 3.117 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3182, allocations: 137.8 kB / 435.2 MB, free: 2.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.3182, allocations: 29.7 kB / 435.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.413e-05/0.3183, allocations: 88.12 kB / 435.3 MB, free: 2.848 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.29e-05/0.3183, allocations: 7.891 kB / 435.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/0.3183, allocations: 17.72 kB / 435.3 MB, free: 2.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3185, allocations: 318.8 kB / 435.6 MB, free: 2.496 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.969e-05/0.3185, allocations: 7.984 kB / 435.6 MB, free: 2.488 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-05/0.3185, allocations: 21.88 kB / 435.6 MB, free: 2.461 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.726e-05/0.3186, allocations: 25.7 kB / 435.7 MB, free: 2.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.3186, allocations: 3.938 kB / 435.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001247/0.3187, allocations: 65.56 kB / 435.7 MB, free: 2.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.3188, allocations: 4 kB / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.3188, allocations: 0 / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.3188, allocations: 128 / 435.7 MB, free: 2.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.978e-05/0.3188, allocations: 8 kB / 435.7 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3188, allocations: 4 kB / 435.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.648e-05/0.3189, allocations: 3.984 kB / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-06/0.3189, allocations: 0 / 435.7 MB, free: 2.336 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (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 prepare postOptimizeDAE: time 8.699e-05/0.319, allocations: 121.8 kB / 435.9 MB, free: 2.207 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.319, allocations: 41.58 kB / 435.9 MB, free: 2.16 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.631e-05/0.3191, allocations: 15.77 kB / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.3191, allocations: 0 / 435.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3191, allocations: 4 kB / 435.9 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.3191, allocations: 4.031 kB / 435.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.3192, allocations: 117.2 kB / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3192, allocations: 0 / 436 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3193, allocations: 11.98 kB / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3193, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.3193, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3193, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3193, allocations: 0 / 436.1 MB, free: 1.98 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.3194, allocations: 164.2 kB / 436.2 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.71e-05/0.3195, allocations: 15.98 kB / 436.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.3195, allocations: 7.984 kB / 436.2 MB, free: 1.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.79e-05/0.3196, allocations: 4 kB / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.3196, allocations: 0 / 436.2 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-06/0.3196, allocations: 4 kB / 436.2 MB, free: 1.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.688e-05/0.3197, allocations: 114 kB / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3197, allocations: 0 / 436.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.3199, allocations: 11.94 kB / 436.4 MB, free: 1.648 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 (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 8.637e-05/0.32, allocations: 99.19 kB / 436.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001284/0.3201, allocations: 27.92 kB / 436.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3201, allocations: 0 / 436.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.561e-05/0.3202, allocations: 7.984 kB / 436.5 MB, free: 1.508 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.3205, allocations: 17.84 kB / 436.5 MB, free: 1.492 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/0.3208, allocations: 163.7 kB / 436.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.996e-05/0.3209, allocations: 75.27 kB / 436.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.444e-05/0.3209, allocations: 12.27 kB / 436.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.655e-05/0.3209, allocations: 7.438 kB / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3209, allocations: 0 / 436.8 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.002877/0.3238, allocations: 0.5873 MB / 437.4 MB, free: 0.6094 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.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.630823636427522]