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.001616/0.001616, allocations: 118.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.002032/0.002032, allocations: 197.2 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.5/1.5, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 358.2 MB, free: 13.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3385/0.3399, 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.002623/0.3425, allocations: 1.561 MB / 410.3 MB, free: 8 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009265/0.3435, allocations: 0.5298 MB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.285e-05/0.3435, allocations: 0 / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.3436, allocations: 3.938 kB / 410.8 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3437, allocations: 15.88 kB / 410.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.344, allocations: 55.81 kB / 410.9 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.3442, allocations: 51.78 kB / 411 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.72e-05/0.3442, allocations: 16.17 kB / 411 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.3444, allocations: 27.92 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.326e-05/0.3444, allocations: 23.8 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.3445, allocations: 4 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.05e-05/0.3445, allocations: 7.984 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.3446, allocations: 15.92 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.665e-05/0.3446, allocations: 31.81 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3447, allocations: 63.67 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3447, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3447, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.668e-06/0.3448, 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.0004705/0.3452, allocations: 368.9 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.3453, allocations: 12.03 kB / 411.5 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.331e-05/0.3453, allocations: 38.73 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001509/0.3455, allocations: 24.75 kB / 411.6 MB, free: 14.67 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.3457, allocations: 198.4 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-06/0.3457, allocations: 384 / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.3458, allocations: 4.375 kB / 411.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002643/0.346, allocations: 120.9 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.3461, allocations: 7.875 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-06/0.3461, allocations: 0 / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.3461, allocations: 0 / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.48e-05/0.3462, allocations: 19.98 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.3465, allocations: 261.7 kB / 412.2 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.632e-05/0.3466, allocations: 57.14 kB / 412.2 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.3466, allocations: 21.77 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3467, allocations: 0 / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.3467, allocations: 34.56 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3467, allocations: 0 / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002341/0.3469, allocations: 73.5 kB / 412.4 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.347, allocations: 85.05 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.3471, allocations: 137.8 kB / 412.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.3471, allocations: 25.7 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.3472, allocations: 92.12 kB / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.266e-05/0.3472, allocations: 0 / 412.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.3473, allocations: 21.97 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3474, allocations: 314.8 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.3474, allocations: 11.98 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.029e-05/0.3475, allocations: 21.7 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.978e-05/0.3475, allocations: 29.78 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3476, allocations: 0 / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001249/0.3477, allocations: 61.52 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.3477, allocations: 4 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3477, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.3477, allocations: 7.938 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.423e-05/0.3478, allocations: 4 kB / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.419e-06/0.3478, allocations: 0 / 413.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.629e-05/0.3479, allocations: 3.984 kB / 413.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3479, allocations: 8.062 kB / 413.2 MB, free: 12.86 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 8.133e-05/0.348, allocations: 129.6 kB / 413.3 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.348, allocations: 41.59 kB / 413.3 MB, free: 12.67 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3481, allocations: 11.83 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.3481, allocations: 4 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3481, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.3481, allocations: 0 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000163/0.3483, allocations: 177.5 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.3483, allocations: 0 / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.3483, allocations: 12.02 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.3483, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.3483, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3483, allocations: 0 / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.237e-06/0.3484, allocations: 4 kB / 413.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.3485, allocations: 160.2 kB / 413.7 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.3486, allocations: 93 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.3486, allocations: 7.984 kB / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.3487, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.3487, allocations: 0 / 413.8 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.3487, allocations: 8 kB / 413.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.824e-05/0.3488, allocations: 110 kB / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3488, allocations: 0 / 413.9 MB, free: 12 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002216/0.349, allocations: 8 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.0003923/0.3494, allocations: 0.6975 MB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001432/0.3496, allocations: 19.98 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3496, allocations: 4.156 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.593e-05/0.3496, allocations: 8 kB / 414.6 MB, free: 11.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.35, allocations: 19.95 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.001259/0.3512, allocations: 1.324 MB / 416 MB, free: 9.809 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3515, allocations: 0.6923 MB / 416.7 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.331e-05/0.3515, allocations: 4 kB / 416.7 MB, free: 9.086 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.3516, allocations: 11.44 kB / 416.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3516, allocations: 0 / 416.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.3692, allocations: 1.579 MB / 418.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.36/8.729, allocations: 4 kB / 418.3 MB, free: 7.605 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