Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.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.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_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.001232/0.001232, allocations: 118.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001686/0.001687, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.484/1.484, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 63.88 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.371, allocations: 50.54 MB / 408.7 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample): time 0.003266/0.3743, allocations: 1.561 MB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00121/0.3756, allocations: 0.5337 MB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001133/0.3757, allocations: 4 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.51e-05/0.3758, allocations: 7.875 kB / 410.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001568/0.376, allocations: 11.86 kB / 410.9 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003639/0.3763, allocations: 63.8 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.3765, allocations: 47.8 kB / 411 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.3766, allocations: 12.17 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.3768, allocations: 23.94 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.658e-05/0.3769, allocations: 23.84 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.524e-05/0.3769, allocations: 4 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.3769, allocations: 11.98 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.377, allocations: 11.94 kB / 411.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.787e-05/0.3771, allocations: 27.8 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3772, allocations: 63.69 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3772, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3772, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.3773, allocations: 0 / 411.1 MB, free: 15.16 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.0005472/0.3778, allocations: 380.9 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3779, allocations: 8.031 kB / 411.5 MB, free: 14.73 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.3779, allocations: 34.75 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3781, allocations: 20.73 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.3784, allocations: 198.4 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.3784, allocations: 8.375 kB / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.487e-05/0.3785, allocations: 384 / 411.8 MB, free: 14.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3788, allocations: 113 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3788, allocations: 3.938 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3788, allocations: 3.938 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/0.3788, allocations: 0 / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.06e-05/0.3789, allocations: 19.98 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000351/0.3793, allocations: 265.7 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.802e-05/0.3794, allocations: 53.14 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.3795, allocations: 17.78 kB / 412.2 MB, free: 13.87 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.3795, allocations: 4 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.3795, allocations: 30.56 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3795, allocations: 0 / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002695/0.3798, allocations: 73.52 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.054e-05/0.3799, allocations: 81.05 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001363/0.38, allocations: 146.1 kB / 412.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.38, allocations: 25.7 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/0.3801, allocations: 88.14 kB / 412.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.733e-05/0.3801, allocations: 4 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.532e-05/0.3802, allocations: 13.7 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.3803, allocations: 322.8 kB / 413 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.89e-05/0.3803, allocations: 7.984 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.809e-05/0.3804, allocations: 21.66 kB / 413 MB, free: 12.99 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.625e-05/0.3805, allocations: 29.7 kB / 413.1 MB, free: 12.96 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3805, allocations: 4 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.3806, allocations: 57.53 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.3806, allocations: 11.98 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-06/0.3807, allocations: 4.125 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3807, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.33e-05/0.3807, allocations: 4 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3808, allocations: 0 / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.308e-05/0.3808, allocations: 4 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.3808, allocations: 0 / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.000109/0.3809, allocations: 133.6 kB / 413.3 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.381, allocations: 41.61 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.765e-05/0.3811, allocations: 19.84 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.3811, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3811, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.3811, allocations: 7.984 kB / 413.4 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001906/0.3813, allocations: 169.6 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3813, allocations: 3.938 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.362e-05/0.3813, allocations: 4 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.3814, allocations: 4 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3814, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3814, allocations: 0 / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.3814, allocations: 3.984 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.3816, allocations: 168.2 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.45e-05/0.3816, allocations: 93 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.3817, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.798e-05/0.3817, allocations: 4 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.193e-05/0.3818, allocations: 3.984 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.3818, allocations: 4.031 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.708e-05/0.3819, allocations: 110 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3819, allocations: 0 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002319/0.3821, allocations: 4 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0005114/0.3826, allocations: 0.6975 MB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.3828, allocations: 19.98 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3828, allocations: 0 / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.509e-05/0.3828, allocations: 7.984 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003603/0.3832, allocations: 27.89 kB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.3846, allocations: 1.32 MB / 416 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000335/0.385, allocations: 0.6846 MB / 416.7 MB, free: 9.098 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.769e-05/0.385, allocations: 4.109 kB / 416.7 MB, free: 9.094 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.363e-05/0.3851, allocations: 19.47 kB / 416.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3851, allocations: 0 / 416.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.4092, allocations: 1.581 MB / 418.3 MB, free: 7.605 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/8.716, allocations: 17.89 kB / 418.3 MB, free: 7.594 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SubSample/SubSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches