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.00179/0.00179, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002153/0.002153, allocations: 214.7 kB / 24.48 MB, free: 3.941 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.408/1.408, allocations: 230.6 MB / 258.2 MB, free: 7.75 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.00242/0.00242, allocations: 55.94 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3074, allocations: 53.36 MB / 432.3 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004107/0.3115, allocations: 1.594 MB / 433.9 MB, free: 5.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001079/0.3126, allocations: 0.5298 MB / 434.5 MB, free: 4.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.475e-05/0.3127, allocations: 7.938 kB / 434.5 MB, free: 4.539 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.017e-05/0.3127, allocations: 3.938 kB / 434.5 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001226/0.3128, allocations: 15.84 kB / 434.5 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003113/0.3132, allocations: 59.83 kB / 434.5 MB, free: 4.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001109/0.3133, allocations: 51.78 kB / 434.6 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.3134, allocations: 20.16 kB / 434.6 MB, free: 4.391 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.3135, allocations: 27.88 kB / 434.6 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.313e-05/0.3135, allocations: 19.86 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.3135, allocations: 4 kB / 434.7 MB, free: 4.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.445e-05/0.3136, allocations: 7.984 kB / 434.7 MB, free: 4.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.3136, allocations: 15.92 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.156e-05/0.3137, allocations: 23.86 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.3138, allocations: 58.36 kB / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3138, allocations: 0 / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.3138, allocations: 0 / 434.8 MB, free: 4.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.3138, allocations: 4 kB / 434.8 MB, free: 4.238 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.0004736/0.3143, allocations: 316.6 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3143, allocations: 12.03 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001487/0.3145, allocations: 16.88 kB / 435.1 MB, free: 3.875 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.3147, allocations: 153.3 kB / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.3147, allocations: 384 / 435.3 MB, free: 3.703 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.067e-05/0.3147, allocations: 7.938 kB / 435.3 MB, free: 3.695 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000286/0.315, allocations: 121.9 kB / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.315, allocations: 0 / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.315, allocations: 0 / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.3151, allocations: 0 / 435.4 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.69e-05/0.3151, allocations: 27.92 kB / 435.4 MB, free: 3.527 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003109/0.3155, allocations: 222.2 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001304/0.3156, allocations: 75.72 kB / 435.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.469e-05/0.3157, allocations: 30.62 kB / 435.7 MB, free: 3.133 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.309e-05/0.3157, allocations: 4 kB / 435.7 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.399e-05/0.3157, allocations: 38.5 kB / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.3157, allocations: 0 / 435.8 MB, free: 3.082 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002663/0.316, allocations: 81.56 kB / 435.9 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.721e-05/0.3161, allocations: 107.2 kB / 436 MB, free: 2.867 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.3162, allocations: 149.8 kB / 436.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3162, allocations: 25.7 kB / 436.1 MB, free: 2.68 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.3163, allocations: 84.14 kB / 436.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.346e-05/0.3163, allocations: 7.984 kB / 436.2 MB, free: 2.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.851e-05/0.3163, allocations: 21.67 kB / 436.2 MB, free: 2.559 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.3165, allocations: 318.8 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.462e-05/0.3165, allocations: 11.98 kB / 436.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.389e-05/0.3166, allocations: 39.36 kB / 436.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.918e-05/0.3167, allocations: 51.36 kB / 436.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.3167, allocations: 3.938 kB / 436.7 MB, free: 2.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000141/0.3168, allocations: 65.62 kB / 436.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.3168, allocations: 7.984 kB / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3168, allocations: 0 / 436.7 MB, free: 2.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3169, allocations: 4 kB / 436.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.3169, allocations: 8.125 kB / 436.7 MB, free: 2.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.3169, allocations: 4 kB / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.141e-05/0.317, allocations: 0 / 436.8 MB, free: 2.016 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.317, allocations: 11.92 kB / 436.8 MB, free: 2.004 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.432e-05/0.3171, allocations: 117.8 kB / 436.9 MB, free: 1.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.974e-05/0.3172, allocations: 57.59 kB / 436.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.3172, allocations: 15.92 kB / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3172, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3172, allocations: 0 / 437 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3172, allocations: 8.062 kB / 437 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.3174, allocations: 121.2 kB / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3174, allocations: 0 / 437.1 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.3174, allocations: 11.94 kB / 437.1 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3174, allocations: 4 kB / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.3175, allocations: 0 / 437.1 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.3175, allocations: 3.984 kB / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3175, allocations: 0 / 437.1 MB, free: 1.621 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002081/0.3177, allocations: 177.1 kB / 437.3 MB, free: 1.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.086e-05/0.3177, allocations: 19.89 kB / 437.3 MB, free: 1.406 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.3177, allocations: 7.984 kB / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.111e-05/0.3178, allocations: 0 / 437.3 MB, free: 1.398 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.09e-05/0.3178, allocations: 15.88 kB / 437.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.3178, allocations: 4 kB / 437.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.362e-05/0.3179, allocations: 118 kB / 437.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3179, allocations: 0 / 437.4 MB, free: 1.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002343/0.3182, allocations: 4 kB / 437.4 MB, free: 1.262 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 8.891e-05/0.3183, allocations: 95.25 kB / 437.5 MB, free: 1.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.3184, allocations: 43.91 kB / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.3184, allocations: 0 / 437.6 MB, free: 1.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.715e-05/0.3185, allocations: 4 kB / 437.6 MB, free: 1.113 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.3188, allocations: 28.14 kB / 437.6 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003637/0.3192, allocations: 192.5 kB / 437.8 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.796e-05/0.3192, allocations: 79.77 kB / 437.9 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.111e-05/0.3193, allocations: 7.984 kB / 437.9 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.854e-05/0.3193, allocations: 11.44 kB / 437.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3193, allocations: 0 / 437.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of Templates: time 0.002933/0.3222, allocations: 0.6893 MB / 438.6 MB, free: 80 kB / 334.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 -s gbode -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: 4.393397043997538]