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.001861/0.00186, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001708/0.001709, allocations: 199.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.539/1.539, allocations: 227.4 MB / 247 MB, free: 10.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.3179, allocations: 50.55 MB / 408.8 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.002826/0.3208, allocations: 1.565 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001067/0.3219, allocations: 0.5221 MB / 410.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.322, allocations: 0 / 410.9 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.432e-05/0.322, allocations: 7.922 kB / 410.9 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.3222, allocations: 11.88 kB / 410.9 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003084/0.3225, allocations: 51.08 kB / 411 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.3226, allocations: 47.83 kB / 411 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3227, allocations: 12 kB / 411 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.3229, allocations: 31.86 kB / 411.1 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.581e-05/0.3229, allocations: 19.86 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.323, allocations: 4 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.244e-05/0.323, allocations: 4 kB / 411.1 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.3231, allocations: 15.97 kB / 411.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.636e-05/0.3231, allocations: 19.81 kB / 411.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001466/0.3233, allocations: 50.77 kB / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3233, allocations: 7.938 kB / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3233, allocations: 0 / 411.2 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.3233, allocations: 0 / 411.2 MB, free: 15.23 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.0005453/0.3239, allocations: 371.1 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3239, allocations: 8.031 kB / 411.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.3239, allocations: 42.73 kB / 411.6 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.3241, allocations: 12.89 kB / 411.6 MB, free: 14.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002648/0.3244, allocations: 210.4 kB / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.3244, allocations: 384 / 411.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.3244, allocations: 8.359 kB / 411.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002541/0.3247, allocations: 93.17 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3247, allocations: 0 / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3247, allocations: 0 / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3247, allocations: 0 / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.852e-05/0.3248, allocations: 19.98 kB / 411.9 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.3252, allocations: 269.6 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.119e-05/0.3253, allocations: 41.28 kB / 412.3 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.695e-05/0.3253, allocations: 29.64 kB / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.761e-05/0.3254, allocations: 0 / 412.3 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/0.3254, allocations: 34.56 kB / 412.3 MB, free: 13.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.3254, allocations: 4 kB / 412.3 MB, free: 13.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002435/0.3257, allocations: 65.56 kB / 412.4 MB, free: 13.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.473e-05/0.3257, allocations: 81.36 kB / 412.5 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.3259, allocations: 138.2 kB / 412.6 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.3259, allocations: 25.7 kB / 412.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.606e-05/0.326, allocations: 96.06 kB / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.326, allocations: 0 / 412.7 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.115e-05/0.326, allocations: 17.67 kB / 412.7 MB, free: 13.45 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3262, allocations: 326.8 kB / 413.1 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.967e-05/0.3262, allocations: 4 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-05/0.3263, allocations: 25.7 kB / 413.1 MB, free: 13.08 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.015e-05/0.3264, allocations: 29.64 kB / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3264, allocations: 0 / 413.1 MB, free: 13.05 MB / 334.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001324/0.3265, allocations: 57.72 kB / 413.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3266, allocations: 12.03 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.3266, allocations: 0 / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3266, allocations: 0 / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3266, allocations: 4 kB / 413.2 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.3267, allocations: 3.984 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.758e-05/0.3267, allocations: 4 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.3267, allocations: 0 / 413.2 MB, free: 12.96 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.814e-05/0.3268, allocations: 117.8 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.754e-05/0.3269, allocations: 49.64 kB / 413.4 MB, free: 12.78 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.3269, allocations: 11.83 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.3269, allocations: 0 / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.3269, allocations: 0 / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3269, allocations: 0 / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3271, allocations: 177.5 kB / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3272, allocations: 0 / 413.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.3272, allocations: 15.86 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.3272, allocations: 0 / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.3272, allocations: 0 / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3272, allocations: 4 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3272, allocations: 4.031 kB / 413.6 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001997/0.3274, allocations: 160.3 kB / 413.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.3275, allocations: 89.05 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.3275, allocations: 7.984 kB / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.3276, allocations: 0 / 413.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.3277, allocations: 8.031 kB / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.3277, allocations: 0 / 413.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.744e-05/0.3278, allocations: 110 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.194e-06/0.3278, allocations: 3.938 kB / 413.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002276/0.328, allocations: 7.938 kB / 413.9 MB, free: 12.1 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.0005376/0.3285, allocations: 0.6937 MB / 414.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001353/0.3287, allocations: 27.92 kB / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3287, allocations: 0 / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.577e-05/0.3287, allocations: 4 kB / 414.7 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3291, allocations: 20 kB / 414.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001393/0.3305, allocations: 1.32 MB / 416 MB, free: 9.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003285/0.3308, allocations: 0.6846 MB / 416.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.07e-05/0.3309, allocations: 8.031 kB / 416.7 MB, free: 9.199 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.331e-05/0.3309, allocations: 15.42 kB / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3309, allocations: 0 / 416.7 MB, free: 9.184 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.355, allocations: 1.491 MB / 418.2 MB, free: 7.805 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.777/9.132, allocations: 7.906 kB / 418.2 MB, free: 7.801 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.1.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