Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.14 kB / 16.03 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 191.4 kB / 16.95 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.1 MB / 222.8 MB, free: 12.45 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08793/0.08793, allocations: 12.58 MB / 282.7 MB, free: 15.62 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 79.89 kB / 343 MB, free: 3.293 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3851, allocations: 49.38 MB / 392.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample): time 0.003614/0.3888, allocations: 1.629 MB / 394 MB, free: 48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001113/0.3899, allocations: 0.5111 MB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3901, allocations: 2.938 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.751e-05/0.3901, allocations: 5.203 kB / 394.5 MB, free: 47.64 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.3903, allocations: 6.484 kB / 394.5 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003173/0.3906, allocations: 40.89 kB / 394.6 MB, free: 47.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001212/0.3908, allocations: 47.33 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001452/0.3909, allocations: 15.58 kB / 394.6 MB, free: 47.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.391, allocations: 30.36 kB / 394.7 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.475e-05/0.3911, allocations: 22.38 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.423e-05/0.3911, allocations: 2.688 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.265e-05/0.3912, allocations: 3.656 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.049e-05/0.3913, allocations: 15 kB / 394.7 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.374e-05/0.3913, allocations: 31.66 kB / 394.7 MB, free: 47.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3915, allocations: 45.19 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.815e-06/0.3915, allocations: 5.344 kB / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3916, allocations: 0 / 394.8 MB, free: 47.5 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3916, allocations: 3.938 kB / 394.8 MB, free: 47.5 MB / 318.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.0005759/0.3922, allocations: 384.3 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/0.3922, allocations: 11.23 kB / 395.2 MB, free: 47.11 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.269e-05/0.3923, allocations: 8.781 kB / 395.2 MB, free: 47.1 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.3925, allocations: 194 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.3926, allocations: 7.125 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.588e-05/0.3926, allocations: 2.625 kB / 395.4 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003399/0.3929, allocations: 124.6 kB / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.3929, allocations: 0 / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.393, allocations: 1.406 kB / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.393, allocations: 0 / 395.5 MB, free: 46.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.903e-05/0.3931, allocations: 25.86 kB / 395.5 MB, free: 46.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004137/0.3935, allocations: 271.7 kB / 395.8 MB, free: 46.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3937, allocations: 67.34 kB / 395.8 MB, free: 46.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.11e-05/0.3938, allocations: 39.95 kB / 395.9 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/0.3938, allocations: 1.688 kB / 395.9 MB, free: 46.37 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.501e-05/0.3939, allocations: 36.17 kB / 395.9 MB, free: 46.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3939, allocations: 0 / 395.9 MB, free: 46.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.000322/0.3942, allocations: 82.86 kB / 396 MB, free: 46.28 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3943, allocations: 112.5 kB / 396.1 MB, free: 46.14 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.3944, allocations: 149.7 kB / 396.3 MB, free: 46.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.3944, allocations: 29.64 kB / 396.3 MB, free: 45.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.3945, allocations: 88.05 kB / 396.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.3945, allocations: 5.672 kB / 396.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.025e-05/0.3945, allocations: 19.86 kB / 396.4 MB, free: 45.88 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.807e-05/0.3946, allocations: 322.4 kB / 396.7 MB, free: 45.56 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.3947, allocations: 11.42 kB / 396.7 MB, free: 45.56 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.207e-05/0.3947, allocations: 35.48 kB / 396.8 MB, free: 45.52 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.595e-05/0.3948, allocations: 52.25 kB / 396.8 MB, free: 45.48 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.3949, allocations: 0 / 396.8 MB, free: 45.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001509/0.395, allocations: 68.47 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.395, allocations: 5.062 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.3951, allocations: 1.406 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3951, allocations: 5.359 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.3952, allocations: 13.16 kB / 396.9 MB, free: 45.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3952, allocations: 7.266 kB / 396.9 MB, free: 45.42 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.494e-05/0.3953, allocations: 11.3 kB / 396.9 MB, free: 45.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.3953, allocations: 2.125 kB / 396.9 MB, free: 45.41 MB / 318.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.0001126/0.3954, allocations: 121.9 kB / 397 MB, free: 45.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3955, allocations: 53.5 kB / 397.1 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.065e-05/0.3956, allocations: 20.27 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.3956, allocations: 1.672 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.268e-06/0.3956, allocations: 1.125 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.3956, allocations: 5.031 kB / 397.1 MB, free: 45.23 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.3959, allocations: 173.9 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.3959, allocations: 1.219 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.699e-05/0.3959, allocations: 9.531 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.396, allocations: 1.312 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.396, allocations: 2.156 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.808e-06/0.396, allocations: 1.375 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.828e-06/0.396, allocations: 1.312 kB / 397.3 MB, free: 45.03 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.3962, allocations: 184.3 kB / 397.5 MB, free: 44.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.3964, allocations: 95.73 kB / 397.6 MB, free: 44.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/0.3964, allocations: 6 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.316e-05/0.3965, allocations: 3.109 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.453e-05/0.3965, allocations: 1.484 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.3965, allocations: 2.656 kB / 397.6 MB, free: 44.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001175/0.3967, allocations: 118.3 kB / 397.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3967, allocations: 0 / 397.7 MB, free: 44.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3969, allocations: 5.594 kB / 397.7 MB, free: 44.66 MB / 318.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.0001373/0.397, allocations: 91.05 kB / 397.8 MB, free: 44.58 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001839/0.3972, allocations: 38 kB / 397.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3973, allocations: 0 / 397.8 MB, free: 44.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.3973, allocations: 9.844 kB / 397.9 MB, free: 44.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004888/0.3978, allocations: 40.73 kB / 397.9 MB, free: 44.55 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004116/0.3982, allocations: 201.5 kB / 398.1 MB, free: 44.37 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.3985, allocations: 0.6991 MB / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.764e-05/0.3985, allocations: 2.938 kB / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.3986, allocations: 10.91 kB / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3986, allocations: 0 / 398.8 MB, free: 43.66 MB / 318.1 MB Notification: Performance of Templates: time 0.003684/0.4023, allocations: 0.579 MB / 399.4 MB, free: 43.45 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches