Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001424/0.001424, allocations: 118.2 kB / 17.78 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.001391/0.001391, allocations: 206 kB / 18.74 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.513/1.513, allocations: 227.4 MB / 247 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001866, allocations: 63.89 kB / 358.3 MB, free: 13.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3037, allocations: 50.55 MB / 408.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003888/0.3076, allocations: 1.868 MB / 410.7 MB, free: 15.6 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3091, allocations: 0.6974 MB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001421/0.3093, allocations: 4 kB / 411.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.3095, allocations: 19.73 kB / 411.4 MB, free: 14.88 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.3097, allocations: 27.78 kB / 411.4 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.3101, allocations: 107.7 kB / 411.6 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.3103, allocations: 147.6 kB / 411.7 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.3105, allocations: 61.69 kB / 411.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.3107, allocations: 63.7 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.3108, allocations: 51.66 kB / 411.9 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.707e-05/0.3109, allocations: 8 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.256e-05/0.3109, allocations: 20 kB / 411.9 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.252e-05/0.311, allocations: 31.91 kB / 411.9 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.3111, allocations: 63.53 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002728/0.3114, allocations: 146.3 kB / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3114, allocations: 0 / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3114, allocations: 0 / 412.1 MB, free: 14.16 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3114, allocations: 4 kB / 412.1 MB, free: 14.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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007522/0.3122, allocations: 462.7 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.334e-05/0.3122, allocations: 8.031 kB / 412.6 MB, free: 13.64 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.702e-05/0.3123, allocations: 46.67 kB / 412.6 MB, free: 13.59 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.3125, allocations: 24.83 kB / 412.7 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004116/0.3129, allocations: 261 kB / 412.9 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.542e-05/0.3129, allocations: 11.94 kB / 412.9 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3129, allocations: 8 kB / 412.9 MB, free: 13.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000608/0.3135, allocations: 275.2 kB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.3136, allocations: 4 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.3136, allocations: 3.984 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3136, allocations: 4 kB / 413.2 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002422/0.3139, allocations: 75.83 kB / 413.3 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000535/0.3144, allocations: 427.5 kB / 413.7 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005022/0.3149, allocations: 294.1 kB / 414 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002176/0.3151, allocations: 112.4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.3152, allocations: 4 kB / 414.1 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.3152, allocations: 38.44 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 3.586e-06/0.3152, allocations: 7.984 kB / 414.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.000608/0.3159, allocations: 213.4 kB / 414.4 MB, free: 11.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000183/0.3161, allocations: 199.9 kB / 414.6 MB, free: 11.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002206/0.3163, allocations: 175.1 kB / 414.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3163, allocations: 37.7 kB / 414.8 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.3164, allocations: 108 kB / 414.9 MB, free: 11.07 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.3165, allocations: 11.94 kB / 414.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.631e-05/0.3165, allocations: 41.64 kB / 414.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3168, allocations: 322.8 kB / 415.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.093e-05/0.3168, allocations: 23.98 kB / 415.3 MB, free: 10.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001849/0.317, allocations: 134.4 kB / 415.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002541/0.3173, allocations: 157.6 kB / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3173, allocations: 0 / 415.6 MB, free: 10.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003043/0.3176, allocations: 169.2 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.3176, allocations: 14.53 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.3177, allocations: 4 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.3177, allocations: 4.5 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001466/0.3178, allocations: 35.98 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.3179, allocations: 11.88 kB / 415.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.922e-05/0.318, allocations: 15.94 kB / 415.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.318, allocations: 12 kB / 415.8 MB, free: 10.01 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.0001399/0.3181, allocations: 133.7 kB / 415.9 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.3184, allocations: 145.4 kB / 416.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.499e-05/0.3185, allocations: 21.44 kB / 416.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.3185, allocations: 4 kB / 416.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3185, allocations: 4 kB / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.3186, allocations: 0 / 416.1 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.3189, allocations: 221.5 kB / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3189, allocations: 0 / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.3191, allocations: 43.91 kB / 416.4 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3191, allocations: 3.938 kB / 416.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.3191, allocations: 4 kB / 416.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.3191, allocations: 0 / 416.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3191, allocations: 4 kB / 416.4 MB, free: 9.367 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004437/0.3196, allocations: 353.2 kB / 416.7 MB, free: 8.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/0.3197, allocations: 116.9 kB / 416.8 MB, free: 8.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3197, allocations: 3.984 kB / 416.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/0.3199, allocations: 12 kB / 416.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.278e-05/0.3199, allocations: 4 kB / 416.9 MB, free: 8.844 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3199, allocations: 7.984 kB / 416.9 MB, free: 8.836 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001229/0.3201, allocations: 128.4 kB / 417 MB, free: 8.711 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3201, allocations: 96 / 417 MB, free: 8.711 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000329/0.3204, allocations: 23.94 kB / 417 MB, free: 8.688 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * 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.0007833/0.3212, allocations: 0.9053 MB / 417.9 MB, free: 7.746 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002713/0.3215, allocations: 107.8 kB / 418 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3215, allocations: 0 / 418 MB, free: 7.641 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.554e-05/0.3215, allocations: 16.92 kB / 418.1 MB, free: 7.625 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006396/0.3222, allocations: 104.1 kB / 418.2 MB, free: 7.523 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.3249, allocations: 2.08 MB / 420.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003813/0.3253, allocations: 0.7241 MB / 421 MB, free: 4.492 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.435e-05/0.3253, allocations: 21.84 kB / 421 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.426e-05/0.3254, allocations: 43.42 kB / 421 MB, free: 4.434 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3254, allocations: 0 / 421 MB, free: 4.434 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.3506, allocations: 3.412 MB / 424.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.745/9.095, allocations: 8 kB / 424.4 MB, free: 1.172 MB / 334.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches