Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 118.8 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001508/0.001508, allocations: 197.2 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 59.89 kB / 358.2 MB, free: 13.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4108/0.412, allocations: 50.53 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.003138/0.4152, allocations: 1.562 MB / 410.3 MB, free: 15.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001014/0.4163, allocations: 0.5647 MB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.281e-05/0.4164, allocations: 0 / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.4165, allocations: 3.938 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001373/0.4166, allocations: 15.86 kB / 410.9 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000322/0.4169, allocations: 63.81 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.4171, allocations: 43.84 kB / 411 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.4172, allocations: 16.17 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4173, allocations: 31.8 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.227e-05/0.4174, allocations: 15.92 kB / 411.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.4174, allocations: 4 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.694e-05/0.4174, allocations: 4 kB / 411.1 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.096e-05/0.4175, allocations: 15.92 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.056e-05/0.4175, allocations: 35.8 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.4177, allocations: 59.73 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.4177, allocations: 4 kB / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4177, allocations: 0 / 411.2 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.4177, allocations: 0 / 411.2 MB, free: 15.12 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.0005732/0.4183, allocations: 376.9 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.4184, allocations: 12.02 kB / 411.6 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.4184, allocations: 30.75 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.4186, allocations: 28.73 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.4189, allocations: 202.3 kB / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.4189, allocations: 384 / 411.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.4189, allocations: 8.375 kB / 411.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002741/0.4192, allocations: 109 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4192, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4192, allocations: 0 / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.4193, allocations: 4 kB / 411.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.978e-05/0.4193, allocations: 23.86 kB / 412 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003467/0.4197, allocations: 265.7 kB / 412.2 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.499e-05/0.4198, allocations: 41.22 kB / 412.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.13e-05/0.4199, allocations: 25.7 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.4199, allocations: 3.984 kB / 412.3 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.4199, allocations: 34.56 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.4199, allocations: 0 / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002487/0.4202, allocations: 73.52 kB / 412.4 MB, free: 13.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.4202, allocations: 81.11 kB / 412.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.4204, allocations: 137.8 kB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.4204, allocations: 25.7 kB / 412.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.4204, allocations: 88.14 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.4205, allocations: 4 kB / 412.7 MB, free: 13.33 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.4205, allocations: 17.97 kB / 412.7 MB, free: 13.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.4206, allocations: 322.8 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.015e-05/0.4207, allocations: 8 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.4207, allocations: 17.7 kB / 413.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.4208, allocations: 37.7 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4208, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.4209, allocations: 57.53 kB / 413.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.421, allocations: 4 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.421, allocations: 8 kB / 413.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.421, allocations: 3.984 kB / 413.2 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.994e-05/0.4211, allocations: 7.984 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.4211, allocations: 7.922 kB / 413.2 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.562e-05/0.4211, allocations: 4 kB / 413.2 MB, free: 12.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.151e-06/0.4211, allocations: 4.062 kB / 413.2 MB, free: 12.81 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.371e-05/0.4212, allocations: 125.7 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.962e-05/0.4213, allocations: 45.59 kB / 413.4 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/0.4213, allocations: 11.83 kB / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.4213, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4213, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.4213, allocations: 0 / 413.4 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.4215, allocations: 173.6 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4215, allocations: 3.969 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.423e-05/0.4216, allocations: 11.98 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.4216, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.4216, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.798e-06/0.4216, allocations: 4 kB / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4216, allocations: 0 / 413.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.4218, allocations: 164.2 kB / 413.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.841e-05/0.4219, allocations: 93 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.4219, allocations: 3.938 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.197e-05/0.422, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.84e-05/0.422, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.422, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.894e-05/0.4221, allocations: 113.9 kB / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4221, allocations: 0 / 413.9 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002218/0.4223, allocations: 8 kB / 414 MB, free: 11.95 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.0004508/0.4228, allocations: 0.6898 MB / 414.6 MB, free: 11.23 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.4229, allocations: 27.92 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.423, allocations: 4.156 kB / 414.7 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.866e-05/0.423, allocations: 7.984 kB / 414.7 MB, free: 11.19 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.4234, allocations: 12.03 kB / 414.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.4247, allocations: 1.324 MB / 416 MB, free: 9.766 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.425, allocations: 0.6885 MB / 416.7 MB, free: 9.051 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.878e-05/0.425, allocations: 4 kB / 416.7 MB, free: 9.047 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.944e-05/0.4251, allocations: 15.42 kB / 416.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.4251, allocations: 3.938 kB / 416.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.4458, allocations: 1.588 MB / 418.3 MB, free: 7.559 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.227/8.673, allocations: 0 / 418.3 MB, free: 7.559 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches