Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_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.001607/0.001614, allocations: 118.8 kB / 17.79 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001884/0.001885, allocations: 201.2 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.473/1.473, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 59.91 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 50.54 MB / 408.8 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.004315/0.3384, allocations: 1.581 MB / 410.3 MB, free: 15.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001549/0.34, allocations: 0.5609 MB / 410.9 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001832/0.3402, allocations: 11.94 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.984e-05/0.3403, allocations: 3.938 kB / 410.9 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.3406, allocations: 19.78 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005253/0.3411, allocations: 59.83 kB / 411 MB, free: 15.28 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001789/0.3413, allocations: 43.84 kB / 411 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001575/0.3415, allocations: 24.16 kB / 411.1 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3416, allocations: 23.88 kB / 411.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.827e-05/0.3417, allocations: 23.86 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.153e-05/0.3418, allocations: 4 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.952e-05/0.3419, allocations: 8 kB / 411.1 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.3419, allocations: 19.91 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.927e-05/0.342, allocations: 27.8 kB / 411.2 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001954/0.3422, allocations: 55.75 kB / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3422, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3422, allocations: 0 / 411.2 MB, free: 15.05 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.3422, allocations: 0 / 411.2 MB, free: 15.05 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.0007692/0.343, allocations: 392.7 kB / 411.6 MB, free: 14.62 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.348e-05/0.3431, allocations: 12.03 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.3432, allocations: 30.75 kB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002474/0.3434, allocations: 20.77 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.3439, allocations: 212 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3439, allocations: 4.125 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/0.3439, allocations: 8 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000375/0.3443, allocations: 125.9 kB / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.3444, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.3444, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3444, allocations: 0 / 412 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.607e-05/0.3445, allocations: 23.92 kB / 412 MB, free: 14.13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005085/0.345, allocations: 278.6 kB / 412.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001525/0.3452, allocations: 67.78 kB / 412.4 MB, free: 13.71 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.049e-05/0.3453, allocations: 34.62 kB / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.3453, allocations: 0 / 412.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.09e-05/0.3454, allocations: 42.5 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.3454, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003654/0.3457, allocations: 85.7 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.3458, allocations: 102.8 kB / 412.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.346, allocations: 153.7 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.3461, allocations: 25.7 kB / 412.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.3461, allocations: 88.14 kB / 412.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.3462, allocations: 7.891 kB / 412.9 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-05/0.3462, allocations: 17.91 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3464, allocations: 326.8 kB / 413.2 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.511e-05/0.3465, allocations: 11.92 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.677e-05/0.3465, allocations: 35.42 kB / 413.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001019/0.3466, allocations: 47.36 kB / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.3466, allocations: 0 / 413.3 MB, free: 12.64 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001671/0.3468, allocations: 69.53 kB / 413.4 MB, free: 12.57 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3468, allocations: 10.97 kB / 413.4 MB, free: 12.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3469, allocations: 3.984 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.3469, allocations: 0 / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.218e-05/0.347, allocations: 12.12 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.347, allocations: 7.938 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.387e-05/0.3471, allocations: 3.938 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.3471, allocations: 4 kB / 413.4 MB, free: 12.53 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.0001105/0.3472, allocations: 125.7 kB / 413.6 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.3473, allocations: 53.59 kB / 413.6 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.811e-05/0.3474, allocations: 7.875 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3474, allocations: 4 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3474, allocations: 8 kB / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3474, allocations: 96 / 413.6 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002018/0.3476, allocations: 173.6 kB / 413.8 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.3476, allocations: 11.86 kB / 413.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.888e-05/0.3477, allocations: 8 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3477, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.3477, allocations: 4 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3477, allocations: 0 / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3477, allocations: 3.938 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.3479, allocations: 177.2 kB / 414 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.832e-05/0.348, allocations: 97 kB / 414.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.348, allocations: 11.92 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.3481, allocations: 4 kB / 414.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.812e-05/0.3482, allocations: 3.938 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-06/0.3482, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.829e-05/0.3483, allocations: 118.8 kB / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3483, allocations: 0 / 414.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.3485, allocations: 8 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.0005215/0.349, allocations: 0.7024 MB / 414.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.3492, allocations: 43.84 kB / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3492, allocations: 0 / 415 MB, free: 10.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.909e-05/0.3493, allocations: 7.938 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.3497, allocations: 33.81 kB / 415 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0017/0.3514, allocations: 1.403 MB / 416.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.3518, allocations: 0.6963 MB / 417.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.837e-05/0.3518, allocations: 0 / 417.1 MB, free: 8.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.3519, allocations: 19.42 kB / 417.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3519, allocations: 0 / 417.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.3745, allocations: 1.712 MB / 418.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.256/8.63, allocations: 11.56 kB / 418.9 MB, free: 6.934 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches