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.001293/0.001293, allocations: 117.7 kB / 17.79 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001669/0.001669, allocations: 204.6 kB / 18.73 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3521, allocations: 50.53 MB / 408.7 MB, free: 1.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SuperSample): time 0.00366/0.3558, allocations: 1.608 MB / 410.4 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001318/0.3572, allocations: 0.5648 MB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001374/0.3573, allocations: 0 / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.971e-05/0.3575, allocations: 3.938 kB / 410.9 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.3577, allocations: 15.86 kB / 410.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004368/0.3581, allocations: 63.75 kB / 411 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.3582, allocations: 47.84 kB / 411 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.3584, allocations: 20.11 kB / 411.1 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/0.3585, allocations: 23.92 kB / 411.1 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.609e-05/0.3586, allocations: 27.84 kB / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.3587, allocations: 0 / 411.1 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.236e-05/0.3587, allocations: 12 kB / 411.1 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.3588, allocations: 11.94 kB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.3588, allocations: 23.8 kB / 411.2 MB, free: 15.1 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001915/0.359, allocations: 63.73 kB / 411.2 MB, free: 15.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.3591, allocations: 4 kB / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.466e-06/0.3591, allocations: 0 / 411.2 MB, free: 15.03 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.3591, allocations: 0 / 411.2 MB, free: 15.03 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.0006292/0.3597, allocations: 384.7 kB / 411.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.3598, allocations: 12.03 kB / 411.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.103e-05/0.3599, allocations: 34.75 kB / 411.7 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001915/0.3601, allocations: 20.83 kB / 411.7 MB, free: 14.54 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004117/0.3605, allocations: 208.2 kB / 411.9 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.3605, allocations: 8.125 kB / 411.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.811e-05/0.3605, allocations: 4 kB / 411.9 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.3609, allocations: 117.9 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3609, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3609, allocations: 3.938 kB / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.361, allocations: 0 / 412 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.663e-05/0.3611, allocations: 31.92 kB / 412 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005212/0.3616, allocations: 266.6 kB / 412.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3618, allocations: 75.78 kB / 412.4 MB, free: 13.69 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.841e-05/0.3619, allocations: 34.56 kB / 412.4 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3619, allocations: 4 kB / 412.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3619, allocations: 30.56 kB / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.362, allocations: 0 / 412.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003126/0.3623, allocations: 85.52 kB / 412.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.3624, allocations: 118.7 kB / 412.6 MB, free: 13.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001801/0.3626, allocations: 141.7 kB / 412.8 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.3626, allocations: 29.7 kB / 412.8 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.3627, allocations: 92.12 kB / 412.9 MB, free: 13.1 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.3627, allocations: 4.281 kB / 412.9 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.272e-05/0.3628, allocations: 21.72 kB / 412.9 MB, free: 13.07 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00018/0.363, allocations: 318.8 kB / 413.2 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.363, allocations: 8 kB / 413.2 MB, free: 12.74 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.541e-05/0.3631, allocations: 35.36 kB / 413.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.3632, allocations: 55.36 kB / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.3632, allocations: 0 / 413.3 MB, free: 12.62 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001337/0.3633, allocations: 69.52 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3634, allocations: 4 kB / 413.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3634, allocations: 4.219 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.3634, allocations: 7.984 kB / 413.4 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.338e-05/0.3635, allocations: 11.94 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3635, allocations: 3.938 kB / 413.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.675e-05/0.3636, allocations: 11.92 kB / 413.4 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/0.3636, allocations: 0 / 413.4 MB, free: 12.51 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 9.422e-05/0.3637, allocations: 117.8 kB / 413.6 MB, free: 12.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.931e-05/0.3638, allocations: 61.53 kB / 413.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.199e-05/0.3638, allocations: 11.94 kB / 413.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3638, allocations: 4 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.3639, allocations: 3.938 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3639, allocations: 4 kB / 413.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.3641, allocations: 173.6 kB / 413.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3641, allocations: 4 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.571e-05/0.3641, allocations: 4 kB / 413.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3641, allocations: 4 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.3642, allocations: 3.984 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3642, allocations: 0 / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3642, allocations: 3.938 kB / 413.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.3644, allocations: 185 kB / 414 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.367e-05/0.3644, allocations: 93 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3645, allocations: 0 / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.809e-05/0.3645, allocations: 4 kB / 414.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.534e-05/0.3646, allocations: 7.938 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.3646, allocations: 4 kB / 414.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.346e-05/0.3647, allocations: 114.8 kB / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3647, allocations: 0 / 414.2 MB, free: 11.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3649, allocations: 8 kB / 414.2 MB, free: 11.6 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.0005315/0.3655, allocations: 0.7101 MB / 414.9 MB, free: 10.86 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000168/0.3657, allocations: 31.92 kB / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3657, allocations: 0 / 415 MB, free: 10.83 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.744e-05/0.3657, allocations: 15.92 kB / 415 MB, free: 10.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.3661, allocations: 31.78 kB / 415 MB, free: 10.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.3677, allocations: 1.405 MB / 416.4 MB, free: 9.273 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003457/0.3681, allocations: 0.6924 MB / 417.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.858e-05/0.3681, allocations: 4 kB / 417.1 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.3682, allocations: 19.42 kB / 417.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3682, allocations: 4 kB / 417.1 MB, free: 8.527 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3928, allocations: 1.719 MB / 418.9 MB, free: 6.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.051/8.444, allocations: 8.047 kB / 418.9 MB, free: 6.914 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