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.001281/0.001281, allocations: 122.8 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.001508/0.001508, allocations: 202 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.49/1.49, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3718/0.3734, allocations: 50.53 MB / 408.8 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.00386/0.3773, allocations: 1.868 MB / 410.6 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001908/0.3793, allocations: 0.6896 MB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002127/0.3795, allocations: 7.938 kB / 411.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3798, allocations: 19.73 kB / 411.3 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.3801, allocations: 27.78 kB / 411.4 MB, free: 14.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3806, allocations: 119.3 kB / 411.5 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000206/0.3808, allocations: 139.6 kB / 411.6 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.381, allocations: 57.7 kB / 411.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.3812, allocations: 71.7 kB / 411.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001026/0.3813, allocations: 47.66 kB / 411.8 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3814, allocations: 12 kB / 411.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.3814, allocations: 16 kB / 411.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.322e-05/0.3815, allocations: 35.89 kB / 411.9 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.639e-05/0.3816, allocations: 59.55 kB / 411.9 MB, free: 14.35 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.3818, allocations: 149.1 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3818, allocations: 4 kB / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3818, allocations: 0 / 412.1 MB, free: 14.2 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.221e-06/0.3819, allocations: 4 kB / 412.1 MB, free: 14.2 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.0006204/0.3825, allocations: 446.9 kB / 412.5 MB, free: 13.71 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3825, allocations: 12.03 kB / 412.5 MB, free: 13.7 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.309e-05/0.3826, allocations: 42.73 kB / 412.6 MB, free: 13.65 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001839/0.3828, allocations: 28.64 kB / 412.6 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.3833, allocations: 256 kB / 412.8 MB, free: 13.33 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.3833, allocations: 11.94 kB / 412.9 MB, free: 13.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.3833, allocations: 11.98 kB / 412.9 MB, free: 13.31 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006589/0.384, allocations: 273.4 kB / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.384, allocations: 0 / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.021e-05/0.3841, allocations: 3.984 kB / 413.1 MB, free: 13.01 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.3841, allocations: 4 kB / 413.1 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002394/0.3843, allocations: 79.83 kB / 413.2 MB, free: 12.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005703/0.3849, allocations: 427.4 kB / 413.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004704/0.3854, allocations: 290.2 kB / 413.9 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.3856, allocations: 116.2 kB / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.3856, allocations: 0 / 414 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.3856, allocations: 42.44 kB / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.3857, allocations: 0 / 414.1 MB, free: 11.92 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005541/0.3862, allocations: 217.3 kB / 414.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3863, allocations: 191.9 kB / 414.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.3865, allocations: 182.3 kB / 414.7 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.011e-05/0.3865, allocations: 34.06 kB / 414.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.3866, allocations: 104.4 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3866, allocations: 11.98 kB / 414.8 MB, free: 11.12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.27e-05/0.3867, allocations: 41.61 kB / 414.8 MB, free: 11.08 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3868, allocations: 322.8 kB / 415.2 MB, free: 10.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.1e-05/0.3869, allocations: 23.92 kB / 415.2 MB, free: 10.73 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.387, allocations: 137.2 kB / 415.3 MB, free: 10.55 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.3872, allocations: 153.6 kB / 415.5 MB, free: 10.35 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.3872, allocations: 4 kB / 415.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002578/0.3875, allocations: 165.1 kB / 415.6 MB, free: 10.18 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.3875, allocations: 11.94 kB / 415.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.3875, allocations: 4 kB / 415.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3876, allocations: 4.5 kB / 415.6 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.3877, allocations: 39.86 kB / 415.7 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3877, allocations: 11.94 kB / 415.7 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.443e-05/0.3878, allocations: 15.83 kB / 415.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.3878, allocations: 19.98 kB / 415.7 MB, free: 10.07 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.0001254/0.388, allocations: 133.7 kB / 415.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.3883, allocations: 149.3 kB / 416 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.029e-05/0.3883, allocations: 17.41 kB / 416 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3883, allocations: 8.266 kB / 416 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3883, allocations: 0 / 416 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.3883, allocations: 7.969 kB / 416 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002814/0.3886, allocations: 217.5 kB / 416.3 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.3886, allocations: 4 kB / 416.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.3888, allocations: 39.91 kB / 416.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.3888, allocations: 7.938 kB / 416.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3888, allocations: 4 kB / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.3888, allocations: 0 / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3888, allocations: 0 / 416.3 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004005/0.3892, allocations: 361 kB / 416.7 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.3894, allocations: 112.8 kB / 416.8 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.3894, allocations: 11.98 kB / 416.8 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.3895, allocations: 12 kB / 416.8 MB, free: 8.891 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3896, allocations: 3.984 kB / 416.8 MB, free: 8.887 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3896, allocations: 4 kB / 416.8 MB, free: 8.883 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.3897, allocations: 132.4 kB / 416.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3897, allocations: 0 / 416.9 MB, free: 8.754 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.39, allocations: 20 kB / 416.9 MB, free: 8.734 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.0007415/0.3908, allocations: 0.9046 MB / 417.9 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.3911, allocations: 107.8 kB / 418 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3911, allocations: 0 / 418 MB, free: 7.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.503e-05/0.3911, allocations: 16.92 kB / 418 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00065/0.3918, allocations: 107.5 kB / 418.1 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.3942, allocations: 2.07 MB / 420.2 MB, free: 5.301 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.3945, allocations: 0.728 MB / 420.9 MB, free: 4.547 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.358e-05/0.3946, allocations: 13.55 kB / 420.9 MB, free: 4.535 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.977e-05/0.3947, allocations: 43.42 kB / 420.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3947, allocations: 0 / 420.9 MB, free: 4.496 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02365/0.4184, allocations: 3.469 MB / 424.4 MB, free: 1.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.126/8.545, allocations: 14.34 kB / 424.4 MB, free: 1.168 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.0.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