Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000726/0.000726, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009826/0.001709, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006437/0.0006437, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009201/0.001564, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8218/0.8218, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1368/0.9586, allocations: 52.48 MB / 238.5 MB, free: 7.609 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 239.7 MB, free: 6.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.594e-06/8.686e-06, allocations: 2.312 kB / 239.8 MB, free: 6.332 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.0017/0.001708, allocations: 1.678 MB / 241.4 MB, free: 4.664 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.000471/0.002179, allocations: 0.4919 MB / 241.9 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.908e-05/0.002238, allocations: 4.531 kB / 241.9 MB, free: 4.164 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.119e-05/0.00227, allocations: 13.5 kB / 241.9 MB, free: 4.152 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 5.635e-05/0.002326, allocations: 11.91 kB / 242 MB, free: 4.141 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.002478, allocations: 59.64 kB / 242 MB, free: 4.082 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.002556, allocations: 43.86 kB / 242.1 MB, free: 4.039 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.526e-05/0.002621, allocations: 21.25 kB / 242.1 MB, free: 4.02 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.274e-05/0.002704, allocations: 27.97 kB / 242.1 MB, free: 3.992 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.39e-05/0.002748, allocations: 15.92 kB / 242.1 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 1.692e-05/0.002765, allocations: 1 kB / 242.1 MB, free: 3.977 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.002775, allocations: 4 kB / 242.1 MB, free: 3.973 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.002808, allocations: 12.94 kB / 242.1 MB, free: 3.961 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 1.796e-05/0.002826, allocations: 15.92 kB / 242.1 MB, free: 3.945 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 7.813e-05/0.002904, allocations: 31.86 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.002913, allocations: 0.75 kB / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.002914, allocations: 0 / 242.2 MB, free: 3.914 MB / 234.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.002921, allocations: 0.6875 kB / 242.2 MB, free: 3.914 MB / 234.7 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.0003081/0.003229, allocations: 300.1 kB / 242.5 MB, free: 3.598 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.588e-05/0.003255, allocations: 8.75 kB / 242.5 MB, free: 3.59 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.628e-05/0.003281, allocations: 8.938 kB / 242.5 MB, free: 3.582 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.00341, allocations: 140.8 kB / 242.6 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.26e-06/0.003415, allocations: 384 / 242.6 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.658e-06/0.003425, allocations: 8.375 kB / 242.6 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.003569, allocations: 123.1 kB / 242.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.378e-06/0.003573, allocations: 1.656 kB / 242.8 MB, free: 3.27 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.00358, allocations: 4.125 kB / 242.8 MB, free: 3.266 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.003584, allocations: 4 kB / 242.8 MB, free: 3.262 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.12e-05/0.003605, allocations: 8.75 kB / 242.8 MB, free: 3.254 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001415/0.003747, allocations: 166 kB / 242.9 MB, free: 3.07 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.986e-05/0.003797, allocations: 56.83 kB / 243 MB, free: 2.988 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.003818, allocations: 33.75 kB / 243 MB, free: 2.949 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.003835, allocations: 7.984 kB / 243 MB, free: 2.941 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.531e-05/0.00385, allocations: 30.56 kB / 243.1 MB, free: 2.902 MB / 234.7 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.003851, allocations: 0 / 243.1 MB, free: 2.902 MB / 234.7 MB Notification: Performance of matching and sorting (n=4): time 9.871e-05/0.00395, allocations: 57.56 kB / 243.1 MB, free: 2.84 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.003991, allocations: 110.8 kB / 243.2 MB, free: 2.707 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.702e-05/0.004058, allocations: 143.2 kB / 243.4 MB, free: 2.559 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 8.245e-06/0.004066, allocations: 25.7 kB / 243.4 MB, free: 2.527 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.004092, allocations: 84.12 kB / 243.5 MB, free: 2.441 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.303e-05/0.004105, allocations: 9 kB / 243.5 MB, free: 2.434 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/0.004125, allocations: 17.67 kB / 243.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.13e-05/0.004186, allocations: 322.8 kB / 243.8 MB, free: 2.086 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.51e-06/0.004192, allocations: 0.9688 kB / 243.8 MB, free: 2.086 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-06/0.004196, allocations: 0 / 243.8 MB, free: 2.086 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.457e-05/0.004211, allocations: 9.766 kB / 243.8 MB, free: 2.074 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.004212, allocations: 3.938 kB / 243.8 MB, free: 2.07 MB / 234.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.989e-05/0.004242, allocations: 39.41 kB / 243.9 MB, free: 2.027 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.757e-06/0.004251, allocations: 8 kB / 243.9 MB, free: 2.02 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.004254, allocations: 3.938 kB / 243.9 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.263e-06/0.004262, allocations: 0 / 243.9 MB, free: 2.016 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.004306, allocations: 4.656 kB / 243.9 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.374e-06/0.004308, allocations: 0.6875 kB / 243.9 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.224e-05/0.004321, allocations: 0 / 243.9 MB, free: 2.012 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.004326, allocations: 5.953 kB / 243.9 MB, free: 2.008 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 4.278e-05/0.004369, allocations: 112.7 kB / 244 MB, free: 1.887 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.004401, allocations: 41.62 kB / 244 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.486e-05/0.004425, allocations: 15.91 kB / 244.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.004427, allocations: 1.469 kB / 244.1 MB, free: 1.816 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.004429, allocations: 4 kB / 244.1 MB, free: 1.812 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.004432, allocations: 0 / 244.1 MB, free: 1.812 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.4e-05/0.004506, allocations: 73.88 kB / 244.1 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.00451, allocations: 0.5 kB / 244.1 MB, free: 1.723 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.027e-05/0.00454, allocations: 12.8 kB / 244.1 MB, free: 1.711 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.25e-05/0.004563, allocations: 15.95 kB / 244.2 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-06/0.004564, allocations: 1.656 kB / 244.2 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.777e-06/0.004568, allocations: 0 / 244.2 MB, free: 1.695 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.004571, allocations: 11.92 kB / 244.2 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.004572, allocations: 0 / 244.2 MB, free: 1.684 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.576e-05/0.004627, allocations: 137.8 kB / 244.3 MB, free: 1.527 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.004638, allocations: 12.02 kB / 244.3 MB, free: 1.516 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.047e-05/0.004668, allocations: 0 / 244.3 MB, free: 1.516 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.966e-05/0.004688, allocations: 11.94 kB / 244.3 MB, free: 1.504 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.00469, allocations: 0 / 244.3 MB, free: 1.504 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.022e-05/0.00471, allocations: 24.83 kB / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of sort global known variables: time 4e-08/0.00471, allocations: 0 / 244.4 MB, free: 1.477 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001094/0.00482, allocations: 8 kB / 244.4 MB, free: 1.469 MB / 234.7 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 5.017e-05/0.00487, allocations: 80.41 kB / 244.4 MB, free: 1.383 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 4.497e-05/0.004915, allocations: 20.73 kB / 244.5 MB, free: 1.359 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.004919, allocations: 8.094 kB / 244.5 MB, free: 1.352 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.004931, allocations: 4.859 kB / 244.5 MB, free: 1.344 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.005126, allocations: 117.9 kB / 244.6 MB, free: 1.207 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005827/0.005708, allocations: 187.7 kB / 244.8 MB, free: 0.9883 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.077e-05/0.005739, allocations: 59.34 kB / 244.8 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.852e-05/0.005758, allocations: 8.25 kB / 244.8 MB, free: 0.9023 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.722e-05/0.005805, allocations: 63.36 kB / 244.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of SimCode: time 5.51e-07/0.005805, allocations: 0 / 244.9 MB, free: 0.8398 MB / 234.7 MB Notification: Performance of Templates: time 0.001817/0.007622, allocations: 0.6858 MB / 245.6 MB, free: 180 kB / 234.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.175434872508049]