Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001466/0.001466, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 201.2 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001805/0.001805, allocations: 63.89 kB / 358.3 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3677, allocations: 50.56 MB / 408.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.00327/0.371, allocations: 1.585 MB / 410.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009932/0.3721, allocations: 0.5376 MB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.3721, allocations: 3.938 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.195e-05/0.3722, allocations: 3.938 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.3723, allocations: 11.88 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.3726, allocations: 59.81 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001072/0.3727, allocations: 47.78 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.937e-05/0.3728, allocations: 20.17 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001146/0.373, allocations: 35.86 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.373, allocations: 19.86 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.373, allocations: 4 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.34e-05/0.3731, allocations: 8 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.807e-05/0.3732, allocations: 19.91 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.3732, allocations: 23.81 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.3733, allocations: 62.69 kB / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3733, allocations: 0 / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3734, allocations: 0 / 411.3 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3734, allocations: 0 / 411.3 MB, free: 15.03 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.0004711/0.3738, allocations: 391 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.3739, allocations: 12.03 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.661e-05/0.3739, allocations: 34.69 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3741, allocations: 16.88 kB / 411.7 MB, free: 14.53 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.3744, allocations: 204.8 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.126e-05/0.3744, allocations: 4.125 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.3744, allocations: 8 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.3747, allocations: 117.9 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3747, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.118e-06/0.3747, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3747, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.3748, allocations: 27.91 kB / 412.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.3752, allocations: 278.6 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.3753, allocations: 75.78 kB / 412.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.672e-05/0.3754, allocations: 26.64 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.294e-05/0.3755, allocations: 11.92 kB / 412.5 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.3755, allocations: 34.56 kB / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.282e-06/0.3755, allocations: 0 / 412.5 MB, free: 13.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003166/0.3758, allocations: 85.56 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.3759, allocations: 106.8 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3761, allocations: 157.3 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3761, allocations: 29.7 kB / 412.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.3762, allocations: 88.14 kB / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.3762, allocations: 0 / 413 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3763, allocations: 25.66 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.3764, allocations: 322.8 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.249e-05/0.3765, allocations: 7.984 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.674e-05/0.3765, allocations: 39.42 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.92e-05/0.3766, allocations: 43.36 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.3766, allocations: 4 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001316/0.3768, allocations: 65.56 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.3768, allocations: 8 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3768, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.3768, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.7e-05/0.3769, allocations: 19.92 kB / 413.5 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3769, allocations: 7.938 kB / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.671e-05/0.377, allocations: 0 / 413.5 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.377, allocations: 4 kB / 413.5 MB, free: 12.51 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.747e-05/0.3771, allocations: 122 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.3772, allocations: 57.55 kB / 413.7 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.709e-05/0.3772, allocations: 15.94 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.3772, allocations: 8 kB / 413.7 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.3772, allocations: 3.938 kB / 413.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3773, allocations: 0 / 413.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002013/0.3775, allocations: 173.6 kB / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3775, allocations: 0 / 413.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.947e-05/0.3775, allocations: 11.98 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.3775, allocations: 4.062 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.346e-06/0.3776, allocations: 4 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3776, allocations: 0 / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3776, allocations: 3.938 kB / 413.9 MB, free: 12.04 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002028/0.3778, allocations: 177.1 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.944e-05/0.3779, allocations: 97.05 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3779, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.378, allocations: 11.98 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.589e-05/0.378, allocations: 3.938 kB / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.378, allocations: 0 / 414.2 MB, free: 11.71 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.116e-05/0.3781, allocations: 114.2 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3781, allocations: 0 / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002246/0.3783, allocations: 8 kB / 414.3 MB, free: 11.6 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.0005518/0.3789, allocations: 0.7063 MB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001488/0.379, allocations: 44.03 kB / 415 MB, free: 10.82 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3791, allocations: 4.062 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.49e-05/0.3791, allocations: 4 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000349/0.3794, allocations: 34.17 kB / 415.1 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.381, allocations: 1.398 MB / 416.5 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003836/0.3813, allocations: 0.6963 MB / 417.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.76e-05/0.3814, allocations: 8 kB / 417.2 MB, free: 8.543 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.151e-05/0.3815, allocations: 15.44 kB / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3815, allocations: 0 / 417.2 MB, free: 8.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02325/0.4047, allocations: 1.696 MB / 418.9 MB, free: 6.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.736/9.14, allocations: 3.375 kB / 418.9 MB, free: 6.938 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches