Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.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.001302/0.001302, allocations: 103.6 kB / 21.19 MB, free: 0.5156 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.001431/0.001431, allocations: 215.5 kB / 24.48 MB, free: 3.828 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.427/1.427, allocations: 230.5 MB / 258.1 MB, free: 7.793 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.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5021,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 63.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3046/0.3067, allocations: 53.41 MB / 432.4 MB, free: 6.516 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003135/0.3098, allocations: 1.582 MB / 434 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.3109, allocations: 0.5415 MB / 434.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.258e-05/0.311, allocations: 3.938 kB / 434.5 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.933e-05/0.3111, allocations: 3.938 kB / 434.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001421/0.3112, allocations: 11.88 kB / 434.5 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3116, allocations: 59.81 kB / 434.6 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.3117, allocations: 55.77 kB / 434.7 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.3118, allocations: 8.188 kB / 434.7 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001367/0.3119, allocations: 31.86 kB / 434.7 MB, free: 4.211 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.312, allocations: 27.84 kB / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.312, allocations: 0 / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.462e-05/0.3121, allocations: 8 kB / 434.7 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.264e-05/0.3121, allocations: 19.86 kB / 434.8 MB, free: 4.156 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.3121, allocations: 15.88 kB / 434.8 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001604/0.3123, allocations: 70.34 kB / 434.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3123, allocations: 0 / 434.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3123, allocations: 0 / 434.8 MB, free: 4.078 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.3123, allocations: 0 / 434.8 MB, free: 4.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005286/0.3128, allocations: 313.9 kB / 435.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.3129, allocations: 11.98 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.3131, allocations: 16.89 kB / 435.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3134, allocations: 150.4 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.3134, allocations: 4.375 kB / 435.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.3134, allocations: 7.938 kB / 435.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002908/0.3137, allocations: 121.9 kB / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3137, allocations: 0 / 435.4 MB, free: 3.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3137, allocations: 7.984 kB / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.3137, allocations: 0 / 435.5 MB, free: 3.387 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.367e-05/0.3138, allocations: 23.92 kB / 435.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.3142, allocations: 222.2 kB / 435.7 MB, free: 3.109 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/0.3143, allocations: 67.84 kB / 435.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.919e-05/0.3144, allocations: 34.58 kB / 435.8 MB, free: 2.973 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.3144, allocations: 3.984 kB / 435.8 MB, free: 2.969 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.3144, allocations: 34.56 kB / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3144, allocations: 0 / 435.8 MB, free: 2.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002943/0.3147, allocations: 85.5 kB / 435.9 MB, free: 2.836 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.272e-05/0.3148, allocations: 106.8 kB / 436 MB, free: 2.707 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.3149, allocations: 145.8 kB / 436.2 MB, free: 2.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.315, allocations: 26.08 kB / 436.2 MB, free: 2.523 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.134e-05/0.315, allocations: 96.14 kB / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.315, allocations: 0 / 436.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3151, allocations: 25.66 kB / 436.3 MB, free: 2.395 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.3152, allocations: 318.8 kB / 436.6 MB, free: 2.074 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.246e-05/0.3153, allocations: 11.98 kB / 436.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.537e-05/0.3153, allocations: 39.3 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.3154, allocations: 51.42 kB / 436.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3154, allocations: 0 / 436.7 MB, free: 1.949 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001361/0.3156, allocations: 65.56 kB / 436.8 MB, free: 1.879 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.988e-05/0.3156, allocations: 4 kB / 436.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.3156, allocations: 4 kB / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.3156, allocations: 0 / 436.8 MB, free: 1.871 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.664e-05/0.3157, allocations: 11.98 kB / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.3157, allocations: 0 / 436.8 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.01e-05/0.3157, allocations: 8.125 kB / 436.8 MB, free: 1.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.3158, allocations: 7.875 kB / 436.8 MB, free: 1.844 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.22e-05/0.3158, allocations: 121.8 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.404e-05/0.3159, allocations: 53.55 kB / 437 MB, free: 1.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.751e-05/0.316, allocations: 15.95 kB / 437 MB, free: 1.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.316, allocations: 4 kB / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.316, allocations: 0 / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.316, allocations: 0 / 437 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.3161, allocations: 121.2 kB / 437.1 MB, free: 1.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3161, allocations: 4.062 kB / 437.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.093e-05/0.3162, allocations: 15.92 kB / 437.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3162, allocations: 0 / 437.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.3162, allocations: 0 / 437.1 MB, free: 1.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3162, allocations: 4 kB / 437.2 MB, free: 1.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3162, allocations: 4 kB / 437.2 MB, free: 1.457 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.3164, allocations: 181.1 kB / 437.3 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-05/0.3165, allocations: 19.88 kB / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.3165, allocations: 0 / 437.4 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.24e-05/0.3165, allocations: 7.984 kB / 437.4 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.143e-05/0.3166, allocations: 4 kB / 437.4 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-06/0.3166, allocations: 4 kB / 437.4 MB, free: 1.223 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.038e-05/0.3167, allocations: 118.6 kB / 437.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 3.938 kB / 437.5 MB, free: 1.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002328/0.3169, allocations: 8 kB / 437.5 MB, free: 1.098 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.0001049/0.317, allocations: 95.25 kB / 437.6 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001538/0.3172, allocations: 28.11 kB / 437.6 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3172, allocations: 4.062 kB / 437.6 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.79e-05/0.3172, allocations: 15.92 kB / 437.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3175, allocations: 26.91 kB / 437.7 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.3179, allocations: 214.2 kB / 437.9 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.885e-05/0.318, allocations: 79.27 kB / 437.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3181, allocations: 19.41 kB / 438 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3181, allocations: 256 / 438 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of Templates: time 0.00253/0.3206, allocations: 0.8504 MB / 438.8 MB, free: 15.71 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.685766102280468]