Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001581/0.001581, 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.001952/0.001952, 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.504/1.504, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 55.91 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3332, allocations: 50.54 MB / 408.8 MB, free: 1.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003736/0.337, allocations: 1.565 MB / 410.3 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.3383, allocations: 0.5259 MB / 410.8 MB, free: 15.4 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.3384, allocations: 4 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.272e-05/0.3385, allocations: 3.938 kB / 410.9 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.3387, allocations: 15.86 kB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004688/0.3392, allocations: 47.83 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3394, allocations: 43.84 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001357/0.3395, allocations: 15.98 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.3397, allocations: 23.86 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.588e-05/0.3398, allocations: 19.86 kB / 411 MB, free: 15.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3398, allocations: 8 kB / 411 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.947e-05/0.3399, allocations: 4 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.924e-05/0.34, allocations: 8 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.188e-05/0.34, allocations: 31.78 kB / 411.1 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.3402, allocations: 47.83 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3402, allocations: 3.938 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.3403, allocations: 0 / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3403, allocations: 0 / 411.1 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000634/0.3409, allocations: 368.9 kB / 411.5 MB, free: 14.72 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.705e-05/0.341, allocations: 16.03 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.631e-05/0.341, allocations: 34.73 kB / 411.5 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.3412, allocations: 12.84 kB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003523/0.3416, allocations: 202.3 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.314e-05/0.3416, allocations: 384 / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.3416, allocations: 4.375 kB / 411.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.3419, allocations: 101.2 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.342, allocations: 0 / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.438e-06/0.342, allocations: 0 / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.342, allocations: 4 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.3421, allocations: 15.98 kB / 411.9 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004393/0.3425, allocations: 273.6 kB / 412.1 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.3426, allocations: 37.22 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.854e-05/0.3427, allocations: 29.77 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3427, allocations: 0 / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.3428, allocations: 42.5 kB / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 7.41e-07/0.3428, allocations: 0 / 412.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003026/0.3431, allocations: 65.52 kB / 412.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.926e-05/0.3432, allocations: 85.11 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.3433, allocations: 134.2 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.3434, allocations: 25.7 kB / 412.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.3434, allocations: 100.3 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.422e-05/0.3435, allocations: 3.906 kB / 412.6 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.574e-05/0.3435, allocations: 17.72 kB / 412.7 MB, free: 13.34 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001758/0.3437, allocations: 314.8 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/0.3438, allocations: 7.984 kB / 413 MB, free: 13.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.362e-05/0.3438, allocations: 21.72 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.3439, allocations: 33.7 kB / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3439, allocations: 0 / 413 MB, free: 12.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001244/0.3441, allocations: 57.67 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3441, allocations: 4 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3441, allocations: 3.984 kB / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.3441, allocations: 0 / 413.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.718e-05/0.3442, allocations: 4 kB / 413.1 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3442, allocations: 12 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.714e-05/0.3443, allocations: 3.984 kB / 413.1 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.3443, allocations: 0 / 413.1 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 0.0001028/0.3444, allocations: 125.7 kB / 413.2 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.3445, allocations: 37.59 kB / 413.3 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.201e-05/0.3445, allocations: 15.83 kB / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3445, allocations: 0 / 413.3 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.3445, allocations: 4 kB / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3445, allocations: 32 / 413.3 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.3447, allocations: 169.6 kB / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.3448, allocations: 0 / 413.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.06e-05/0.3448, allocations: 7.984 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.3448, allocations: 4 kB / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.3448, allocations: 0 / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3448, allocations: 0 / 413.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3448, allocations: 3.938 kB / 413.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.345, allocations: 164.2 kB / 413.6 MB, free: 12.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.674e-05/0.3451, allocations: 93 kB / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.3451, allocations: 0 / 413.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.844e-05/0.3452, allocations: 11.92 kB / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.925e-05/0.3453, allocations: 0 / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3453, allocations: 0 / 413.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.501e-05/0.3454, allocations: 114 kB / 413.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 3.938 kB / 413.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002386/0.3456, allocations: 11.97 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.0005302/0.3462, allocations: 0.6936 MB / 414.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3463, allocations: 24.02 kB / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3463, allocations: 0 / 414.6 MB, free: 11.25 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.621e-05/0.3464, allocations: 7.938 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.0003759/0.3468, allocations: 23.39 kB / 414.6 MB, free: 11.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3481, allocations: 1.312 MB / 415.9 MB, free: 9.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.3485, allocations: 0.6885 MB / 416.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.555e-05/0.3486, allocations: 4 kB / 416.6 MB, free: 9.102 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.898e-05/0.3486, allocations: 15.42 kB / 416.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of SimCode: time 2.284e-06/0.3486, allocations: 0 / 416.6 MB, free: 9.086 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02028/0.3689, allocations: 1.507 MB / 418.1 MB, free: 7.688 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.549, allocations: 3.938 kB / 418.1 MB, free: 7.684 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches