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.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] 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.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001538/0.001538, allocations: 113.5 kB / 18.79 MB, free: 3.562 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 215.1 kB / 19.8 MB, free: 2.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.546/1.546, allocations: 230.4 MB / 251.1 MB, free: 8.438 MB / 206.1 MB 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.002154/0.002154, allocations: 67.84 kB / 369 MB, free: 6.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4053, allocations: 53.31 MB / 422.3 MB, free: 7.812 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.004713/0.4101, allocations: 1.6 MB / 423.9 MB, free: 6.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.4116, allocations: 0.5337 MB / 424.4 MB, free: 5.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001272/0.4117, allocations: 4 kB / 424.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.02e-05/0.4118, allocations: 7.938 kB / 424.4 MB, free: 5.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.412, allocations: 15.86 kB / 424.4 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004991/0.4125, allocations: 51.83 kB / 424.5 MB, free: 5.594 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001777/0.4127, allocations: 59.77 kB / 424.5 MB, free: 5.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001541/0.4129, allocations: 12.17 kB / 424.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.413, allocations: 23.94 kB / 424.6 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4131, allocations: 23.86 kB / 424.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4132, allocations: 0 / 424.6 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.647e-05/0.4132, allocations: 15.97 kB / 424.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.972e-05/0.4133, allocations: 11.94 kB / 424.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.475e-05/0.4133, allocations: 31.8 kB / 424.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.4136, allocations: 59.2 kB / 424.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.4136, allocations: 0 / 424.7 MB, free: 5.363 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.97e-06/0.4136, allocations: 7.984 kB / 424.7 MB, free: 5.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.855e-06/0.4136, allocations: 0 / 424.7 MB, free: 5.355 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.0008009/0.4144, allocations: 383 kB / 425.1 MB, free: 4.934 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.4145, allocations: 15.97 kB / 425.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.4147, allocations: 16.88 kB / 425.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004622/0.4152, allocations: 208.8 kB / 425.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.4152, allocations: 384 / 425.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.4152, allocations: 7.938 kB / 425.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004285/0.4156, allocations: 117.9 kB / 425.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.4156, allocations: 3.938 kB / 425.5 MB, free: 4.512 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.812e-05/0.4157, allocations: 4 kB / 425.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4157, allocations: 7.969 kB / 425.5 MB, free: 4.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001172/0.4158, allocations: 19.98 kB / 425.5 MB, free: 4.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005615/0.4163, allocations: 278.5 kB / 425.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001946/0.4165, allocations: 71.78 kB / 425.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.4166, allocations: 30.64 kB / 425.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.4167, allocations: 3.984 kB / 425.9 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.4167, allocations: 34.56 kB / 425.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.482e-06/0.4167, allocations: 0 / 425.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003999/0.4171, allocations: 89.45 kB / 426 MB, free: 3.875 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.507e-05/0.4172, allocations: 111.2 kB / 426.1 MB, free: 3.742 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.4174, allocations: 155.6 kB / 426.3 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.4174, allocations: 25.7 kB / 426.3 MB, free: 3.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.862e-05/0.4175, allocations: 88.14 kB / 426.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.4175, allocations: 4 kB / 426.4 MB, free: 3.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.916e-05/0.4176, allocations: 25.66 kB / 426.4 MB, free: 3.426 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.4178, allocations: 310.8 kB / 426.7 MB, free: 3.113 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6e-05/0.4178, allocations: 11.98 kB / 426.7 MB, free: 3.102 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.4179, allocations: 35.42 kB / 426.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001298/0.418, allocations: 55.3 kB / 426.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.418, allocations: 0 / 426.8 MB, free: 2.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002181/0.4182, allocations: 69.56 kB / 426.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4183, allocations: 4 kB / 426.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.4183, allocations: 0 / 426.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.294e-05/0.4183, allocations: 4 kB / 426.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.4184, allocations: 11.98 kB / 426.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.4184, allocations: 0 / 426.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.299e-05/0.4185, allocations: 7.938 kB / 426.9 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.4185, allocations: 0 / 426.9 MB, free: 2.887 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.0001298/0.4186, allocations: 126 kB / 427 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.4188, allocations: 53.55 kB / 427.1 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.4188, allocations: 15.86 kB / 427.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.4188, allocations: 0 / 427.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4188, allocations: 0 / 427.1 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.4188, allocations: 7.938 kB / 427.1 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.4191, allocations: 169.6 kB / 427.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4191, allocations: 4 kB / 427.3 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.193e-05/0.4192, allocations: 16.05 kB / 427.3 MB, free: 2.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4192, allocations: 4 kB / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4192, allocations: 0 / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.4192, allocations: 0 / 427.3 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.4192, allocations: 4 kB / 427.3 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.4195, allocations: 177.1 kB / 427.5 MB, free: 2.227 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.4196, allocations: 101 kB / 427.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.4196, allocations: 0 / 427.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.4197, allocations: 11.98 kB / 427.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.558e-05/0.4198, allocations: 3.938 kB / 427.6 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.4198, allocations: 4 kB / 427.6 MB, free: 2.09 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001207/0.4199, allocations: 118.6 kB / 427.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4199, allocations: 0 / 427.7 MB, free: 1.977 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.4203, allocations: 4 kB / 427.7 MB, free: 1.973 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.0001828/0.4205, allocations: 99.25 kB / 427.8 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002087/0.4207, allocations: 31.92 kB / 427.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4207, allocations: 0 / 427.8 MB, free: 1.836 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.036e-05/0.4208, allocations: 15.92 kB / 427.8 MB, free: 1.82 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005871/0.4213, allocations: 26.88 kB / 427.9 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005358/0.4219, allocations: 188.8 kB / 428 MB, free: 1.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.4223, allocations: 0.6923 MB / 428.7 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.444e-05/0.4223, allocations: 12.11 kB / 428.8 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.4224, allocations: 11.44 kB / 428.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.4224, allocations: 0 / 428.8 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of Templates: time 0.004605/0.427, allocations: 0.6007 MB / 429.4 MB, free: 248 kB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] Reference file matches