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.001803/0.001803, allocations: 122.8 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002529/0.002529, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.526/1.526, allocations: 227.4 MB / 246.9 MB, free: 10.56 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001468/0.001468, allocations: 63.91 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3486, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003104/0.3517, allocations: 1.584 MB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001012/0.3528, allocations: 0.5338 MB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.3529, allocations: 7.938 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.055e-05/0.353, allocations: 3.938 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.3531, allocations: 7.875 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.3535, allocations: 67.42 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.3537, allocations: 51.83 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3538, allocations: 16.19 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001228/0.3539, allocations: 27.86 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.554e-05/0.354, allocations: 23.84 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.354, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.385e-05/0.354, allocations: 4 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.933e-05/0.3541, allocations: 15.92 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.688e-05/0.3542, allocations: 27.81 kB / 411.1 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.3543, allocations: 63.73 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.3544, allocations: 4 kB / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3544, allocations: 0 / 411.2 MB, free: 15.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3544, allocations: 0 / 411.2 MB, free: 15.09 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.0005544/0.3549, allocations: 388.7 kB / 411.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.355, allocations: 8.031 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.809e-05/0.3551, allocations: 38.69 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.3552, allocations: 20.83 kB / 411.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002841/0.3555, allocations: 204.7 kB / 411.8 MB, free: 14.35 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.3555, allocations: 8.125 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3556, allocations: 4 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.3559, allocations: 113.9 kB / 412 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.3559, allocations: 8 kB / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.3559, allocations: 0 / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3559, allocations: 0 / 412 MB, free: 14.19 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.356, allocations: 23.92 kB / 412 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.3564, allocations: 278.6 kB / 412.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.3565, allocations: 71.84 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.327e-05/0.3566, allocations: 34.52 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.3566, allocations: 0 / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.3567, allocations: 46.55 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.3567, allocations: 0 / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002692/0.3569, allocations: 81.52 kB / 412.5 MB, free: 13.56 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.446e-05/0.357, allocations: 106.8 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.3572, allocations: 157.1 kB / 412.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.3572, allocations: 29.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.3573, allocations: 88.14 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.736e-05/0.3573, allocations: 7.906 kB / 412.9 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.955e-05/0.3573, allocations: 17.7 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.3575, allocations: 314.8 kB / 413.2 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.3575, allocations: 11.98 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.3576, allocations: 39.38 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.084e-05/0.3577, allocations: 43.36 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3577, allocations: 0 / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.3578, allocations: 77.52 kB / 413.4 MB, free: 12.6 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.3578, allocations: 8 kB / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3579, allocations: 0 / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3579, allocations: 0 / 413.4 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.081e-05/0.358, allocations: 15.92 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.193e-06/0.358, allocations: 3.938 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.263e-05/0.358, allocations: 7.938 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.358, allocations: 4 kB / 413.4 MB, free: 12.56 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.0001221/0.3582, allocations: 125.9 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.088e-05/0.3583, allocations: 49.55 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.418e-05/0.3583, allocations: 15.86 kB / 413.6 MB, free: 12.35 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3583, allocations: 4 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.3583, allocations: 3.938 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.3583, allocations: 0 / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001744/0.3585, allocations: 173.6 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3585, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3586, allocations: 11.98 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.3586, allocations: 4.062 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3586, allocations: 0 / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.3586, allocations: 4 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3586, allocations: 3.938 kB / 413.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3588, allocations: 181.2 kB / 414 MB, free: 11.9 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.3589, allocations: 97 kB / 414.1 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3589, allocations: 4 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.359, allocations: 3.984 kB / 414.1 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.335e-05/0.3591, allocations: 7.938 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.3591, allocations: 4 kB / 414.1 MB, free: 11.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.245e-05/0.3592, allocations: 112.4 kB / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3592, allocations: 0 / 414.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.3594, allocations: 8 kB / 414.2 MB, free: 11.65 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.0004755/0.3599, allocations: 0.7101 MB / 414.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001504/0.36, allocations: 27.92 kB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.3601, allocations: 4.25 kB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.3601, allocations: 15.92 kB / 415 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.3605, allocations: 27.95 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001379/0.3619, allocations: 1.405 MB / 416.4 MB, free: 9.32 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.3622, allocations: 0.6924 MB / 417.1 MB, free: 8.602 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.85e-05/0.3622, allocations: 8 kB / 417.1 MB, free: 8.594 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.379e-05/0.3623, allocations: 15.44 kB / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3623, allocations: 0 / 417.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0203/0.3826, allocations: 1.718 MB / 418.8 MB, free: 6.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.341/8.724, allocations: 0 / 418.8 MB, free: 6.969 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.0.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