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.001834/0.001834, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00208/0.00208, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.485/1.485, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 55.91 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3597, allocations: 50.55 MB / 408.8 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample): time 0.003668/0.3635, allocations: 1.581 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001287/0.3648, allocations: 0.5337 MB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.365, allocations: 3.938 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.806e-05/0.3651, allocations: 7.922 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.3653, allocations: 15.81 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004488/0.3658, allocations: 67.73 kB / 411 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.3659, allocations: 39.92 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.3661, allocations: 16.16 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.3662, allocations: 35.84 kB / 411.1 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.031e-05/0.3663, allocations: 23.86 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.3664, allocations: 0 / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.045e-05/0.3664, allocations: 8 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.295e-05/0.3665, allocations: 15.92 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.3665, allocations: 23.81 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.3667, allocations: 63.73 kB / 411.2 MB, free: 15.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.3668, allocations: 4 kB / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3668, allocations: 0 / 411.2 MB, free: 15.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.3668, allocations: 0 / 411.2 MB, free: 15.13 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.0006589/0.3674, allocations: 388.7 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.3675, allocations: 12.03 kB / 411.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.394e-05/0.3676, allocations: 38.73 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001848/0.3677, allocations: 16.84 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3681, allocations: 196.7 kB / 411.8 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.3681, allocations: 12.12 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.3681, allocations: 4 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003173/0.3685, allocations: 113.9 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.3685, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3685, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-06/0.3685, allocations: 0 / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.362e-05/0.3686, allocations: 31.92 kB / 412 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.369, allocations: 270.6 kB / 412.3 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.3692, allocations: 71.8 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.954e-05/0.3692, allocations: 38.56 kB / 412.4 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3693, allocations: 4 kB / 412.4 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.3693, allocations: 34.56 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.3693, allocations: 0 / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.000299/0.3696, allocations: 89.5 kB / 412.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.3697, allocations: 106.8 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3699, allocations: 153.1 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3699, allocations: 25.7 kB / 412.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.37, allocations: 96.11 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.37, allocations: 8.281 kB / 412.9 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.37, allocations: 17.72 kB / 412.9 MB, free: 13.17 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3702, allocations: 322.8 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.3702, allocations: 7.938 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.57e-05/0.3703, allocations: 35.42 kB / 413.2 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.3704, allocations: 55.3 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.3704, allocations: 0 / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001454/0.3706, allocations: 73.52 kB / 413.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.3706, allocations: 4 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.3706, allocations: 0 / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.3706, allocations: 8.125 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.321e-05/0.3707, allocations: 11.92 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3707, allocations: 7.938 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.3708, allocations: 3.938 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-06/0.3708, allocations: 4 kB / 413.4 MB, free: 12.61 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.619e-05/0.3709, allocations: 117.8 kB / 413.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.717e-05/0.371, allocations: 57.53 kB / 413.6 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.371, allocations: 11.94 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.371, allocations: 4 kB / 413.6 MB, free: 12.4 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/0.371, allocations: 7.922 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3711, allocations: 0 / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.3713, allocations: 169.7 kB / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3713, allocations: 0 / 413.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.221e-05/0.3713, allocations: 11.98 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.3714, allocations: 4 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.3714, allocations: 0 / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/0.3714, allocations: 0 / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3714, allocations: 3.938 kB / 413.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.3716, allocations: 185.1 kB / 414 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-05/0.3717, allocations: 93.14 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.3717, allocations: 3.984 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.3718, allocations: 4 kB / 414.1 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3719, allocations: 7.922 kB / 414.1 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.3719, allocations: 8 kB / 414.1 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.867e-05/0.372, allocations: 106.3 kB / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.372, allocations: 0 / 414.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3722, allocations: 12 kB / 414.2 MB, free: 11.71 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.0006052/0.3728, allocations: 0.7101 MB / 414.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001862/0.373, allocations: 31.92 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.373, allocations: 3.938 kB / 414.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.3731, allocations: 7.984 kB / 415 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.3735, allocations: 40.39 kB / 415 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001831/0.3754, allocations: 1.405 MB / 416.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3757, allocations: 0.6963 MB / 417.1 MB, free: 8.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.323e-05/0.3758, allocations: 7.984 kB / 417.1 MB, free: 8.645 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.352e-05/0.3758, allocations: 11.44 kB / 417.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3758, allocations: 0 / 417.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02304/0.3989, allocations: 1.718 MB / 418.8 MB, free: 7.02 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.623, allocations: 10.22 kB / 418.8 MB, free: 7.016 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