Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001371/0.001371, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001569/0.001569, allocations: 211.5 kB / 24.48 MB, free: 3.938 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.447/1.447, allocations: 230.6 MB / 258.2 MB, free: 7.777 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.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001906/0.001906, allocations: 43.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3041, allocations: 53.37 MB / 432.3 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003416/0.3075, allocations: 1.606 MB / 433.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.3087, allocations: 0.5298 MB / 434.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.3088, allocations: 7.938 kB / 434.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.374e-05/0.3089, allocations: 3.938 kB / 434.5 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001549/0.309, allocations: 15.92 kB / 434.5 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000355/0.3094, allocations: 63.75 kB / 434.6 MB, free: 4.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.3095, allocations: 47.84 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.234e-05/0.3096, allocations: 8.188 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.3097, allocations: 31.84 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.3098, allocations: 23.8 kB / 434.7 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3098, allocations: 4 kB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.3099, allocations: 4 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.3099, allocations: 11.98 kB / 434.7 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.3099, allocations: 27.81 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.3101, allocations: 66.34 kB / 434.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3101, allocations: 0 / 434.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3101, allocations: 0 / 434.8 MB, free: 4.281 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3101, allocations: 4 kB / 434.8 MB, free: 4.277 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.000497/0.3106, allocations: 305.9 kB / 435.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.3106, allocations: 12.03 kB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.3108, allocations: 16.88 kB / 435.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.3111, allocations: 150.3 kB / 435.3 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.3111, allocations: 4.312 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.3111, allocations: 11.94 kB / 435.3 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002845/0.3114, allocations: 109.9 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.3114, allocations: 0 / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.3114, allocations: 0 / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3114, allocations: 3.938 kB / 435.4 MB, free: 3.605 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.399e-05/0.3115, allocations: 27.98 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003356/0.3119, allocations: 222.2 kB / 435.6 MB, free: 3.324 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001276/0.312, allocations: 71.78 kB / 435.7 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.716e-05/0.3121, allocations: 34.62 kB / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.3121, allocations: 0 / 435.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.3121, allocations: 38.5 kB / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3121, allocations: 0 / 435.8 MB, free: 3.137 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002954/0.3124, allocations: 85.69 kB / 435.9 MB, free: 3.047 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/0.3125, allocations: 110.8 kB / 436 MB, free: 2.914 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001489/0.3126, allocations: 145.8 kB / 436.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.3126, allocations: 25.7 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/0.3127, allocations: 92.14 kB / 436.2 MB, free: 2.637 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.501e-05/0.3127, allocations: 3.984 kB / 436.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.3128, allocations: 25.66 kB / 436.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3129, allocations: 318.8 kB / 436.6 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.422e-05/0.313, allocations: 11.98 kB / 436.6 MB, free: 2.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.397e-05/0.313, allocations: 35.61 kB / 436.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001093/0.3131, allocations: 51.36 kB / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3131, allocations: 0 / 436.7 MB, free: 2.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001423/0.3133, allocations: 65.66 kB / 436.7 MB, free: 2.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.3133, allocations: 8.125 kB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.3133, allocations: 3.984 kB / 436.7 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.3133, allocations: 4 kB / 436.7 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.474e-05/0.3134, allocations: 11.98 kB / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.668e-06/0.3134, allocations: 0 / 436.7 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.477e-05/0.3134, allocations: 8 kB / 436.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/0.3134, allocations: 3.938 kB / 436.8 MB, free: 2.051 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 0.0001198/0.3135, allocations: 121.8 kB / 436.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.3136, allocations: 53.55 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.476e-05/0.3137, allocations: 20.02 kB / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.3137, allocations: 0 / 437 MB, free: 1.84 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.3137, allocations: 4 kB / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.3137, allocations: 0 / 437 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.3138, allocations: 121.2 kB / 437.1 MB, free: 1.688 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.3139, allocations: 4 kB / 437.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.3139, allocations: 11.94 kB / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3139, allocations: 0 / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.3139, allocations: 0 / 437.1 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/0.3139, allocations: 3.938 kB / 437.1 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.3139, allocations: 4 kB / 437.1 MB, free: 1.664 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002082/0.3141, allocations: 181.1 kB / 437.3 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.549e-05/0.3142, allocations: 23.88 kB / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3142, allocations: 0 / 437.3 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.716e-05/0.3143, allocations: 7.984 kB / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.3143, allocations: 0 / 437.3 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3143, allocations: 4 kB / 437.3 MB, free: 1.43 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.039e-05/0.3144, allocations: 113.1 kB / 437.4 MB, free: 1.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3144, allocations: 3.938 kB / 437.4 MB, free: 1.316 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.3147, allocations: 12 kB / 437.4 MB, free: 1.305 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001137/0.3148, allocations: 99.19 kB / 437.5 MB, free: 1.199 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001443/0.3149, allocations: 31.92 kB / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3149, allocations: 0 / 437.6 MB, free: 1.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.218e-05/0.315, allocations: 11.98 kB / 437.6 MB, free: 1.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.3153, allocations: 26.59 kB / 437.6 MB, free: 1.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004182/0.3157, allocations: 218.8 kB / 437.8 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.925e-05/0.3158, allocations: 79.27 kB / 437.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/0.3159, allocations: 15.42 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of SimCode: time 2.9e-07/0.3159, allocations: 0 / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of Templates: time 0.002676/0.3185, allocations: 0.8526 MB / 438.8 MB, free: 15.92 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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: 6.8951154057867825]