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.002388/0.002388, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 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.002304/0.002304, allocations: 153.1 kB / 24.27 MB, free: 168 kB / 18.57 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 1.578/1.578, allocations: 173.3 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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 2.435e-06/2.435e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.054e-05/4.297e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003166/0.003208, allocations: 1.588 MB / 268.9 MB, free: 5.098 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001046/0.004254, allocations: 0.4905 MB / 269.4 MB, free: 4.602 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.835e-05/0.004333, allocations: 3.938 kB / 269.4 MB, free: 4.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.774e-05/0.004391, allocations: 7.922 kB / 269.4 MB, free: 4.59 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.004519, allocations: 11.94 kB / 269.4 MB, free: 4.578 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003016/0.004821, allocations: 63.67 kB / 269.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.004942, allocations: 43.8 kB / 269.5 MB, free: 4.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.005047, allocations: 20.16 kB / 269.6 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.952e-05/0.005137, allocations: 19.98 kB / 269.6 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.478e-05/0.005192, allocations: 15.92 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.979e-05/0.005212, allocations: 0 / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.219e-05/0.005224, allocations: 4 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.005277, allocations: 19.91 kB / 269.6 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.00531, allocations: 19.94 kB / 269.6 MB, free: 4.375 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.005443, allocations: 55.8 kB / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.005446, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.005447, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.005451, allocations: 0 / 269.7 MB, free: 4.32 MB / 250.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.0005744/0.006026, allocations: 411.8 kB / 270.1 MB, free: 3.883 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.006062, allocations: 8.031 kB / 270.1 MB, free: 3.875 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.127e-05/0.006113, allocations: 12.84 kB / 270.1 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.006344, allocations: 148.4 kB / 270.3 MB, free: 3.691 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.006353, allocations: 8.375 kB / 270.3 MB, free: 3.684 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.006367, allocations: 4.375 kB / 270.3 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.006668, allocations: 128.5 kB / 270.4 MB, free: 3.527 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.006681, allocations: 4.188 kB / 270.4 MB, free: 3.523 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.006691, allocations: 4.125 kB / 270.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.006696, allocations: 0 / 270.4 MB, free: 3.52 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.667e-05/0.006772, allocations: 23.92 kB / 270.4 MB, free: 3.496 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.007134, allocations: 279.2 kB / 270.7 MB, free: 3.18 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.007294, allocations: 97.25 kB / 270.8 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.181e-05/0.007376, allocations: 47.05 kB / 270.8 MB, free: 2.988 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.007402, allocations: 4 kB / 270.8 MB, free: 2.984 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.007439, allocations: 37.33 kB / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.00744, allocations: 0 / 270.9 MB, free: 2.938 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002942/0.007734, allocations: 85.91 kB / 271 MB, free: 2.848 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.007825, allocations: 110.8 kB / 271.1 MB, free: 2.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.008023, allocations: 205.9 kB / 271.3 MB, free: 2.496 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.008045, allocations: 29.7 kB / 271.3 MB, free: 2.461 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.008136, allocations: 134.9 kB / 271.4 MB, free: 2.324 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.008152, allocations: 3.953 kB / 271.4 MB, free: 2.32 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.008197, allocations: 23.38 kB / 271.5 MB, free: 2.289 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002665/0.008464, allocations: 0.4884 MB / 271.9 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.314e-05/0.008497, allocations: 4 kB / 272 MB, free: 1.785 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.984e-05/0.008517, allocations: 4 kB / 272 MB, free: 1.781 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.818e-05/0.008585, allocations: 23.73 kB / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.008586, allocations: 0 / 272 MB, free: 1.754 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.008696, allocations: 57.52 kB / 272 MB, free: 1.691 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.008712, allocations: 8 kB / 272 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.008717, allocations: 0 / 272 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.008729, allocations: 0 / 272 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.815e-05/0.008788, allocations: 0 / 272 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.008792, allocations: 0 / 272 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.686e-05/0.008819, allocations: 4 kB / 272 MB, free: 1.68 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.008826, allocations: 0 / 272 MB, free: 1.68 MB / 250.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 0.0001201/0.008946, allocations: 164.6 kB / 272.2 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.623e-05/0.009042, allocations: 61.5 kB / 272.3 MB, free: 1.441 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.292e-05/0.009085, allocations: 15.92 kB / 272.3 MB, free: 1.422 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.349e-06/0.009089, allocations: 3.984 kB / 272.3 MB, free: 1.418 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.009097, allocations: 4 kB / 272.3 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.0091, allocations: 3.938 kB / 272.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/0.009276, allocations: 128.6 kB / 272.4 MB, free: 1.25 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.009281, allocations: 4 kB / 272.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.781e-05/0.009339, allocations: 15.98 kB / 272.4 MB, free: 1.23 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.009341, allocations: 4.062 kB / 272.4 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.00935, allocations: 7.938 kB / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009352, allocations: 0 / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.009353, allocations: 0 / 272.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.009618, allocations: 235.2 kB / 272.7 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.851e-05/0.009657, allocations: 11.95 kB / 272.7 MB, free: 0.9492 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.009676, allocations: 7.938 kB / 272.7 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.586e-05/0.009742, allocations: 3.984 kB / 272.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.311e-05/0.009775, allocations: 0 / 272.7 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.009779, allocations: 4 kB / 272.7 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.009885, allocations: 154.3 kB / 272.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009885, allocations: 0 / 272.9 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.0101, allocations: 4 kB / 272.9 MB, free: 0.7812 MB / 250.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 0.0001177/0.01021, allocations: 99.23 kB / 273 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.01036, allocations: 31.62 kB / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.01037, allocations: 0 / 273 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.01041, allocations: 15.67 kB / 273 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003682/0.01078, allocations: 32.05 kB / 273 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003982/0.01117, allocations: 196.2 kB / 273.2 MB, free: 372 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.272e-05/0.01127, allocations: 75.33 kB / 273.3 MB, free: 276 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 4.01e-05/0.01131, allocations: 4 kB / 273.3 MB, free: 272 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.308e-05/0.01134, allocations: 8.5 kB / 273.3 MB, free: 264 kB / 250.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01134, allocations: 0 / 273.3 MB, free: 264 kB / 250.7 MB Notification: Performance of Templates: time 0.003525/0.01487, allocations: 0.6357 MB / 274 MB, free: 15.63 MB / 266.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.422116755973548]