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.001831/0.001831, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001969/0.00197, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.615/1.615, allocations: 227.4 MB / 247 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 64.08 kB / 358.3 MB, free: 13.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3235, allocations: 50.54 MB / 408.8 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.003394/0.3269, allocations: 1.593 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001292/0.3282, allocations: 0.5648 MB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001174/0.3284, allocations: 3.938 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.006e-05/0.3285, allocations: 3.938 kB / 411 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001509/0.3286, allocations: 19.8 kB / 411 MB, free: 15.44 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000419/0.3291, allocations: 63.44 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001341/0.3292, allocations: 47.84 kB / 411.1 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.3293, allocations: 20.17 kB / 411.1 MB, free: 15.31 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001597/0.3295, allocations: 23.88 kB / 411.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.033e-05/0.3296, allocations: 23.84 kB / 411.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.024e-05/0.3296, allocations: 4 kB / 411.2 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.3297, allocations: 8 kB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.364e-05/0.3298, allocations: 15.92 kB / 411.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.51e-05/0.3298, allocations: 31.8 kB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002231/0.33, allocations: 54.7 kB / 411.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3301, allocations: 4 kB / 411.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3301, allocations: 0 / 411.3 MB, free: 15.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3301, allocations: 0 / 411.3 MB, free: 15.15 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.000616/0.3307, allocations: 387 kB / 411.7 MB, free: 14.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.3308, allocations: 8.031 kB / 411.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.3308, allocations: 34.75 kB / 411.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001741/0.331, allocations: 20.88 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3314, allocations: 217.8 kB / 412 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.3314, allocations: 4.125 kB / 412 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3314, allocations: 4 kB / 412 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.3317, allocations: 121.9 kB / 412.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3318, allocations: 0 / 412.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3318, allocations: 8 kB / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3318, allocations: 0 / 412.1 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.762e-05/0.3319, allocations: 23.92 kB / 412.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.3323, allocations: 270.6 kB / 412.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.3324, allocations: 75.78 kB / 412.5 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.272e-05/0.3325, allocations: 34.62 kB / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.3326, allocations: 0 / 412.5 MB, free: 13.76 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3326, allocations: 38.5 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.3326, allocations: 7.938 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002884/0.3329, allocations: 77.56 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.333, allocations: 110.8 kB / 412.7 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000158/0.3332, allocations: 153.5 kB / 412.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3332, allocations: 29.7 kB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.3333, allocations: 88.14 kB / 413 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.002e-05/0.3333, allocations: 7.984 kB / 413 MB, free: 13.2 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.3333, allocations: 21.67 kB / 413 MB, free: 13.18 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3335, allocations: 314.8 kB / 413.3 MB, free: 12.86 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.874e-05/0.3336, allocations: 15.98 kB / 413.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.93e-05/0.3336, allocations: 39.36 kB / 413.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.3337, allocations: 47.36 kB / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3337, allocations: 0 / 413.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001507/0.3339, allocations: 65.66 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.3339, allocations: 7.125 kB / 413.5 MB, free: 12.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.3339, allocations: 7.984 kB / 413.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.334, allocations: 0 / 413.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.483e-05/0.334, allocations: 8 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.3341, allocations: 3.938 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.151e-05/0.3341, allocations: 4 kB / 413.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3341, allocations: 7.984 kB / 413.5 MB, free: 12.63 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.0001085/0.3342, allocations: 125.9 kB / 413.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.3343, allocations: 53.59 kB / 413.7 MB, free: 12.44 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.468e-05/0.3344, allocations: 7.875 kB / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-06/0.3344, allocations: 0 / 413.7 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.3344, allocations: 7.938 kB / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.3344, allocations: 0 / 413.7 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002132/0.3346, allocations: 181.6 kB / 413.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.3346, allocations: 0 / 413.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.3347, allocations: 11.94 kB / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3347, allocations: 0 / 413.9 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.3347, allocations: 4.062 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3347, allocations: 4 kB / 413.9 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.3348, allocations: 3.938 kB / 413.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.335, allocations: 173.2 kB / 414.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.885e-05/0.3351, allocations: 97.03 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3351, allocations: 8 kB / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.512e-05/0.3352, allocations: 0 / 414.2 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.085e-05/0.3352, allocations: 7.938 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.3352, allocations: 7.938 kB / 414.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.745e-05/0.3353, allocations: 111.2 kB / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3353, allocations: 0 / 414.3 MB, free: 11.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.3356, allocations: 7.938 kB / 414.3 MB, free: 11.72 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.0006025/0.3362, allocations: 0.7026 MB / 415 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001623/0.3364, allocations: 43.88 kB / 415.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3364, allocations: 256 / 415.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.396e-05/0.3365, allocations: 16 kB / 415.1 MB, free: 10.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.3369, allocations: 31.88 kB / 415.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.3386, allocations: 1.399 MB / 416.5 MB, free: 9.387 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.339, allocations: 0.6924 MB / 417.2 MB, free: 8.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.642e-05/0.3391, allocations: 4 kB / 417.2 MB, free: 8.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.887e-05/0.3392, allocations: 23.42 kB / 417.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3392, allocations: 0 / 417.2 MB, free: 8.641 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.3659, allocations: 1.694 MB / 418.9 MB, free: 7.062 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.717/9.083, allocations: 14.58 kB / 418.9 MB, free: 7.051 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.1.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