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.001317/0.001317, 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.001462/0.001462, allocations: 201.2 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.497/1.497, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001399/0.001399, allocations: 59.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3546, allocations: 50.54 MB / 408.8 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003039/0.3577, allocations: 1.57 MB / 410.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.3588, allocations: 0.5181 MB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.533e-05/0.3589, allocations: 4 kB / 410.9 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.354e-05/0.359, allocations: 7.922 kB / 410.9 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3591, allocations: 7.922 kB / 410.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.3595, allocations: 55.83 kB / 410.9 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.3596, allocations: 47.78 kB / 411 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.3598, allocations: 8 kB / 411 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3599, allocations: 27.91 kB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.474e-05/0.36, allocations: 19.86 kB / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.36, allocations: 0 / 411 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.074e-05/0.36, allocations: 8 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.399e-05/0.3601, allocations: 8 kB / 411 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.806e-05/0.3601, allocations: 27.8 kB / 411.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001384/0.3603, allocations: 59.75 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.577e-06/0.3603, allocations: 0 / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3603, allocations: 3.938 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.3603, 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005177/0.3608, allocations: 364.9 kB / 411.5 MB, free: 14.76 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/0.3609, allocations: 8.031 kB / 411.5 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.898e-05/0.3609, allocations: 38.73 kB / 411.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.3611, allocations: 12.84 kB / 411.5 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002649/0.3614, allocations: 204.1 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3614, allocations: 384 / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.3614, allocations: 4.375 kB / 411.7 MB, free: 14.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.3617, allocations: 97.16 kB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.3617, allocations: 4 kB / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.3617, allocations: 0 / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.668e-06/0.3617, allocations: 0 / 411.8 MB, free: 14.33 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.3618, allocations: 23.92 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.3621, allocations: 257.8 kB / 412.1 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.7e-05/0.3622, allocations: 45.16 kB / 412.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.188e-05/0.3623, allocations: 29.77 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.3623, allocations: 0 / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.3623, allocations: 34.5 kB / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.3624, allocations: 0 / 412.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002553/0.3626, allocations: 73.61 kB / 412.3 MB, free: 13.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.3627, allocations: 77.11 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001518/0.3628, allocations: 144.6 kB / 412.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.3629, allocations: 25.7 kB / 412.5 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.3629, allocations: 88.12 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.363, allocations: 7.844 kB / 412.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.363, allocations: 13.72 kB / 412.7 MB, free: 13.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3631, allocations: 334.9 kB / 413 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.067e-05/0.3632, allocations: 8 kB / 413 MB, free: 13.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.378e-05/0.3632, allocations: 21.7 kB / 413 MB, free: 13.02 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.3633, allocations: 25.72 kB / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3633, allocations: 0 / 413 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001153/0.3634, allocations: 57.67 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3635, allocations: 8 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.3635, allocations: 0 / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.3635, allocations: 3.984 kB / 413.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.278e-05/0.3636, allocations: 8 kB / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3636, allocations: 0 / 413.1 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.3637, allocations: 7.984 kB / 413.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.3637, allocations: 0 / 413.1 MB, free: 12.89 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.303e-05/0.3638, allocations: 121.8 kB / 413.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.11e-05/0.3638, allocations: 49.53 kB / 413.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.585e-05/0.3639, allocations: 11.83 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.3639, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3639, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.3639, allocations: 0 / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.3641, allocations: 173.6 kB / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3641, allocations: 0 / 413.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-05/0.3641, allocations: 7.984 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.3641, allocations: 4.031 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.3642, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3642, allocations: 4 kB / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3642, allocations: 0 / 413.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.3643, allocations: 160.2 kB / 413.6 MB, free: 12.28 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.14e-05/0.3644, allocations: 97 kB / 413.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.451e-05/0.3644, allocations: 4.031 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.264e-05/0.3645, allocations: 3.984 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.952e-05/0.3646, allocations: 4 kB / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.387e-06/0.3646, allocations: 0 / 413.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.658e-05/0.3646, allocations: 109.5 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.314e-06/0.3646, allocations: 3.938 kB / 413.9 MB, free: 12.05 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002186/0.3649, allocations: 11.88 kB / 413.9 MB, free: 12.04 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.0004584/0.3653, allocations: 0.6937 MB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3655, allocations: 27.92 kB / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3655, allocations: 0 / 414.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.939e-05/0.3656, allocations: 8.156 kB / 414.6 MB, free: 11.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003286/0.3659, allocations: 16.02 kB / 414.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001257/0.3672, allocations: 1.308 MB / 415.9 MB, free: 9.863 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3675, allocations: 0.6924 MB / 416.6 MB, free: 9.145 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.713e-05/0.3676, allocations: 4.125 kB / 416.6 MB, free: 9.141 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.836e-05/0.3677, allocations: 19.42 kB / 416.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3677, allocations: 0 / 416.6 MB, free: 9.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.3878, allocations: 1.499 MB / 418.1 MB, free: 7.734 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.975/8.363, allocations: 9.547 kB / 418.1 MB, free: 7.727 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