Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.01094/0.01094, allocations: 106.1 kB / 21.98 MB, free: 5.223 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.002465/0.002465, allocations: 214.3 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.744/1.744, allocations: 230.6 MB / 259 MB, free: 8.016 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 72.53 kB / 379.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2648, allocations: 53.36 MB / 433.2 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003502/0.2683, allocations: 1.609 MB / 434.8 MB, free: 5.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2695, allocations: 0.5726 MB / 435.4 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.2697, allocations: 7.938 kB / 435.4 MB, free: 4.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.222e-05/0.2697, allocations: 7.875 kB / 435.4 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001431/0.2699, allocations: 15.91 kB / 435.4 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.2702, allocations: 63.75 kB / 435.5 MB, free: 4.648 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.2703, allocations: 47.8 kB / 435.5 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/0.2704, allocations: 24.16 kB / 435.5 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.2706, allocations: 27.86 kB / 435.6 MB, free: 4.551 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.2706, allocations: 15.92 kB / 435.6 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.2707, allocations: 7.938 kB / 435.6 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.158e-05/0.2707, allocations: 4 kB / 435.6 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.109e-05/0.2707, allocations: 19.92 kB / 435.6 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.728e-05/0.2708, allocations: 31.73 kB / 435.6 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.271, allocations: 57 kB / 435.7 MB, free: 4.422 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.271, allocations: 4 kB / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.271, allocations: 0 / 435.7 MB, free: 4.418 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.271, allocations: 4 kB / 435.7 MB, free: 4.414 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.0005075/0.2715, allocations: 305.9 kB / 436 MB, free: 4.086 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2715, allocations: 12.03 kB / 436 MB, free: 4.074 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.2717, allocations: 16.88 kB / 436 MB, free: 4.059 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.272, allocations: 146.9 kB / 436.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/0.272, allocations: 384 / 436.2 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.272, allocations: 15.88 kB / 436.2 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.2723, allocations: 109.9 kB / 436.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2723, allocations: 0 / 436.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.2724, allocations: 4 kB / 436.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2724, allocations: 0 / 436.3 MB, free: 3.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.421e-05/0.2724, allocations: 23.98 kB / 436.3 MB, free: 3.719 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003615/0.2728, allocations: 245.6 kB / 436.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2729, allocations: 71.78 kB / 436.6 MB, free: 3.332 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.273, allocations: 34.62 kB / 436.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.273, allocations: 0 / 436.7 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.147e-05/0.2731, allocations: 30.56 kB / 436.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.2731, allocations: 0 / 436.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002789/0.2733, allocations: 93.45 kB / 436.8 MB, free: 3.152 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.278e-05/0.2734, allocations: 114.8 kB / 436.9 MB, free: 3.016 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001386/0.2736, allocations: 143.4 kB / 437 MB, free: 2.867 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.2736, allocations: 29.7 kB / 437.1 MB, free: 2.832 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.287e-05/0.2736, allocations: 92.12 kB / 437.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.2737, allocations: 4.312 kB / 437.2 MB, free: 2.734 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.2737, allocations: 29.67 kB / 437.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.2738, allocations: 314.8 kB / 437.5 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.393e-05/0.2739, allocations: 8 kB / 437.5 MB, free: 2.375 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.087e-05/0.2739, allocations: 35.42 kB / 437.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.274, allocations: 51.36 kB / 437.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.274, allocations: 0 / 437.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001413/0.2742, allocations: 73.55 kB / 437.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.2742, allocations: 10.75 kB / 437.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.2742, allocations: 128 / 437.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2742, allocations: 8 kB / 437.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.348e-05/0.2743, allocations: 8 kB / 437.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.2743, allocations: 0 / 437.7 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.865e-05/0.2744, allocations: 15.92 kB / 437.7 MB, free: 2.148 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.143e-06/0.2744, allocations: 0 / 437.7 MB, free: 2.148 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.0001037/0.2745, allocations: 117.8 kB / 437.8 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.987e-05/0.2746, allocations: 57.53 kB / 437.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.2746, allocations: 16.12 kB / 437.9 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2746, allocations: 3.984 kB / 437.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.2746, allocations: 0 / 437.9 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/0.2746, allocations: 7.938 kB / 437.9 MB, free: 1.93 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.2748, allocations: 144.7 kB / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.2748, allocations: 0 / 438 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.791e-05/0.2748, allocations: 8 kB / 438 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2748, allocations: 0 / 438 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.987e-06/0.2749, allocations: 3.984 kB / 438.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.2749, allocations: 3.938 kB / 438.1 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2749, allocations: 4 kB / 438.1 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002035/0.2751, allocations: 181.1 kB / 438.2 MB, free: 1.527 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.879e-05/0.2751, allocations: 11.89 kB / 438.2 MB, free: 1.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.921e-05/0.2751, allocations: 7.984 kB / 438.3 MB, free: 1.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.1e-05/0.2752, allocations: 4 kB / 438.3 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.2752, allocations: 11.94 kB / 438.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2752, allocations: 0 / 438.3 MB, free: 1.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.096e-05/0.2753, allocations: 114.4 kB / 438.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2753, allocations: 0 / 438.4 MB, free: 1.383 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002254/0.2756, allocations: 7.938 kB / 438.4 MB, free: 1.375 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.0001189/0.2757, allocations: 99.19 kB / 438.5 MB, free: 1.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001595/0.2758, allocations: 40.09 kB / 438.5 MB, free: 1.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2758, allocations: 4.062 kB / 438.5 MB, free: 1.227 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.601e-05/0.2759, allocations: 4 kB / 438.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003449/0.2762, allocations: 20.02 kB / 438.6 MB, free: 1.203 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004317/0.2766, allocations: 214.2 kB / 438.8 MB, free: 0.957 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.277, allocations: 0.7004 MB / 439.5 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.91e-05/0.277, allocations: 15.44 kB / 439.5 MB, free: 220 kB / 334.1 MB Notification: Performance of SimCode: time 3.4e-07/0.277, allocations: 3.938 kB / 439.5 MB, free: 216 kB / 334.1 MB Notification: Performance of Templates: time 0.002681/0.2797, allocations: 0.8377 MB / 440.3 MB, free: 15.38 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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: 7.623377616982907]