Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.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.001646/0.001646, allocations: 109.1 kB / 21.18 MB, free: 0.7617 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.001827/0.001827, allocations: 209.7 kB / 24.49 MB, free: 4.148 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.523/1.523, allocations: 230.5 MB / 258.1 MB, free: 8.039 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001986, allocations: 63.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3052, allocations: 53.4 MB / 432.4 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003275/0.3084, allocations: 1.609 MB / 434.1 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001128/0.3096, allocations: 0.5415 MB / 434.6 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3097, allocations: 11.88 kB / 434.6 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.203e-05/0.3097, allocations: 3.938 kB / 434.6 MB, free: 4.582 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00015/0.3099, allocations: 23.84 kB / 434.6 MB, free: 4.559 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.3102, allocations: 51.83 kB / 434.7 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.3103, allocations: 47.91 kB / 434.7 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.3104, allocations: 12.19 kB / 434.7 MB, free: 4.449 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.3106, allocations: 43.72 kB / 434.8 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.703e-05/0.3107, allocations: 15.92 kB / 434.8 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.3107, allocations: 4 kB / 434.8 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.3107, allocations: 4 kB / 434.8 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.3108, allocations: 15.92 kB / 434.8 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.658e-05/0.3108, allocations: 35.73 kB / 434.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.311, allocations: 59.45 kB / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.311, allocations: 0 / 434.9 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.311, allocations: 4 kB / 434.9 MB, free: 4.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.311, allocations: 0 / 434.9 MB, free: 4.273 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.0005592/0.3115, allocations: 315.4 kB / 435.2 MB, free: 3.938 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.3116, allocations: 8.031 kB / 435.2 MB, free: 3.93 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001617/0.3117, allocations: 20.88 kB / 435.3 MB, free: 3.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.312, allocations: 138.5 kB / 435.4 MB, free: 3.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.3121, allocations: 8.375 kB / 435.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.926e-05/0.3121, allocations: 15.91 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.3124, allocations: 117.9 kB / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.3124, allocations: 0 / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.3124, allocations: 0 / 435.5 MB, free: 3.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.3124, allocations: 4 kB / 435.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.48e-05/0.3125, allocations: 27.92 kB / 435.6 MB, free: 3.562 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00037/0.3128, allocations: 241.7 kB / 435.8 MB, free: 3.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.313, allocations: 71.78 kB / 435.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.313, allocations: 30.58 kB / 435.9 MB, free: 3.141 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.971e-05/0.3131, allocations: 3.984 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/0.3131, allocations: 34.56 kB / 435.9 MB, free: 3.094 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.3131, allocations: 4 kB / 435.9 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000279/0.3134, allocations: 89.52 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.695e-05/0.3135, allocations: 106.8 kB / 436.1 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00015/0.3136, allocations: 149.7 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.3136, allocations: 29.7 kB / 436.3 MB, free: 2.676 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3137, allocations: 92.52 kB / 436.4 MB, free: 2.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.475e-05/0.3137, allocations: 3.938 kB / 436.4 MB, free: 2.578 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.251e-05/0.3138, allocations: 25.66 kB / 436.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.3139, allocations: 318.8 kB / 436.7 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.426e-05/0.3139, allocations: 7.984 kB / 436.8 MB, free: 2.219 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.314, allocations: 35.42 kB / 436.8 MB, free: 2.172 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.3141, allocations: 47.36 kB / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3141, allocations: 0 / 436.8 MB, free: 2.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.3142, allocations: 61.62 kB / 436.9 MB, free: 2.047 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.3143, allocations: 12.12 kB / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.3143, allocations: 0 / 436.9 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.3143, allocations: 3.938 kB / 436.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.935e-05/0.3144, allocations: 19.92 kB / 436.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.3144, allocations: 4 kB / 436.9 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.314e-05/0.3144, allocations: 3.938 kB / 436.9 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.586e-06/0.3144, allocations: 4 kB / 436.9 MB, free: 2 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.0001053/0.3145, allocations: 117.8 kB / 437.1 MB, free: 1.875 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.031e-05/0.3146, allocations: 61.55 kB / 437.1 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.3147, allocations: 11.95 kB / 437.1 MB, free: 1.793 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.3147, allocations: 4 kB / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3147, allocations: 0 / 437.1 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.3147, allocations: 3.938 kB / 437.1 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001967/0.3149, allocations: 140.7 kB / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3149, allocations: 0 / 437.3 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.3149, allocations: 11.98 kB / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.3149, allocations: 0 / 437.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.3149, allocations: 4 kB / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3149, allocations: 64 / 437.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.315, allocations: 4 kB / 437.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.3152, allocations: 181.1 kB / 437.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.3152, allocations: 19.88 kB / 437.5 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.3152, allocations: 8 kB / 437.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.118e-05/0.3153, allocations: 8 kB / 437.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.494e-05/0.3153, allocations: 7.922 kB / 437.5 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.3153, allocations: 4 kB / 437.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.682e-05/0.3154, allocations: 106.3 kB / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3154, allocations: 0 / 437.6 MB, free: 1.238 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000233/0.3157, allocations: 15.92 kB / 437.6 MB, free: 1.223 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.0001135/0.3158, allocations: 95.25 kB / 437.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001526/0.3159, allocations: 36.06 kB / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3159, allocations: 0 / 437.8 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.674e-05/0.316, allocations: 7.984 kB / 437.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/0.3163, allocations: 38.69 kB / 437.8 MB, free: 1.043 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.3167, allocations: 206.7 kB / 438 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.3171, allocations: 0.6963 MB / 438.7 MB, free: 84 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.3171, allocations: 11.44 kB / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3171, allocations: 0 / 438.7 MB, free: 72 kB / 334.1 MB Notification: Performance of Templates: time 0.002709/0.3198, allocations: 0.8455 MB / 439.6 MB, free: 15.23 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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: 7.2868234410416335]