Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001076/0.001075, allocations: 97.52 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001056/0.001056, allocations: 205.7 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.276/1.276, allocations: 227.7 MB / 246.8 MB, free: 11.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002242/0.0002243, allocations: 11.94 kB / 307.8 MB, free: 0.7266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09981/0.1001, allocations: 51.52 MB / 359.4 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002016/0.1021, allocations: 1.332 MB / 360.7 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001114/0.1033, allocations: 0.5493 MB / 361.2 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.1034, allocations: 4 kB / 361.3 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.31e-05/0.1035, allocations: 7.922 kB / 361.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.1036, allocations: 3.938 kB / 361.3 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.104, allocations: 59.88 kB / 361.3 MB, free: 11.24 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000118/0.1041, allocations: 55.84 kB / 361.4 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/0.1043, allocations: 27.91 kB / 361.4 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.1044, allocations: 27.86 kB / 361.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.495e-05/0.1045, allocations: 19.84 kB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1045, allocations: 4 kB / 361.5 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.378e-05/0.1045, allocations: 8 kB / 361.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.1046, allocations: 7.938 kB / 361.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.1046, allocations: 57.44 kB / 361.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.1048, allocations: 59.78 kB / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.1048, allocations: 0 / 361.6 MB, free: 10.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1048, allocations: 3.938 kB / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.1048, allocations: 0 / 361.6 MB, free: 10.96 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004842/0.1053, allocations: 375.5 kB / 362 MB, free: 10.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.1054, allocations: 8.031 kB / 362 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.1054, allocations: 38.73 kB / 362 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.1056, allocations: 20.75 kB / 362 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002093/0.1058, allocations: 208.6 kB / 362.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.23e-05/0.1058, allocations: 12.31 kB / 362.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.173e-05/0.1058, allocations: 7.938 kB / 362.2 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002989/0.1061, allocations: 126.8 kB / 362.4 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.516e-05/0.1062, allocations: 3.938 kB / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.1062, allocations: 0 / 362.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1062, allocations: 8 kB / 362.4 MB, free: 10.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.1063, allocations: 27.98 kB / 362.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1067, allocations: 291.4 kB / 362.7 MB, free: 9.684 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.1068, allocations: 94.36 kB / 362.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.1069, allocations: 51.48 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.107, allocations: 0 / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/0.107, allocations: 46.48 kB / 362.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.107, allocations: 0 / 362.9 MB, free: 9.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003202/0.1073, allocations: 105.6 kB / 363 MB, free: 9.328 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.1074, allocations: 132.5 kB / 363.1 MB, free: 9.168 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.1076, allocations: 150.4 kB / 363.3 MB, free: 9.004 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1076, allocations: 25.7 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.1077, allocations: 96.44 kB / 363.4 MB, free: 8.875 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.1077, allocations: 7.906 kB / 363.4 MB, free: 8.867 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.398e-05/0.1077, allocations: 13.72 kB / 363.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1078, allocations: 318.8 kB / 363.7 MB, free: 8.527 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.808e-05/0.1079, allocations: 12 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.321e-05/0.108, allocations: 52.22 kB / 363.8 MB, free: 8.449 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.1081, allocations: 68.22 kB / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1081, allocations: 0 / 363.8 MB, free: 8.367 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001721/0.1083, allocations: 85.52 kB / 363.9 MB, free: 8.277 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.1083, allocations: 8 kB / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1083, allocations: 0 / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.173e-05/0.1083, allocations: 0 / 363.9 MB, free: 8.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.1084, allocations: 19.92 kB / 363.9 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.1084, allocations: 7.938 kB / 364 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.848e-05/0.1085, allocations: 12.09 kB / 364 MB, free: 8.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.1085, allocations: 0 / 364 MB, free: 8.23 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.444e-05/0.1086, allocations: 130.9 kB / 364.1 MB, free: 8.094 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.1087, allocations: 57.53 kB / 364.2 MB, free: 8.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.4e-05/0.1087, allocations: 15.83 kB / 364.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.1088, allocations: 3.938 kB / 364.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.423e-06/0.1088, allocations: 7.938 kB / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1088, allocations: 0 / 364.2 MB, free: 8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.109, allocations: 185.6 kB / 364.4 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.109, allocations: 4 kB / 364.4 MB, free: 7.766 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.056e-05/0.1091, allocations: 11.98 kB / 364.4 MB, free: 7.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.314e-06/0.1091, allocations: 4 kB / 364.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.1091, allocations: 3.938 kB / 364.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.1091, allocations: 4 kB / 364.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1091, allocations: 7.875 kB / 364.4 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.1094, allocations: 198 kB / 364.6 MB, free: 7.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.388e-05/0.1094, allocations: 89 kB / 364.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.019e-05/0.1095, allocations: 8 kB / 364.7 MB, free: 7.402 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.058e-05/0.1096, allocations: 3.984 kB / 364.7 MB, free: 7.398 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.1096, allocations: 15.92 kB / 364.7 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.172e-06/0.1096, allocations: 4 kB / 364.7 MB, free: 7.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.564e-05/0.1097, allocations: 110.8 kB / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1097, allocations: 0 / 364.8 MB, free: 7.273 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002321/0.1099, allocations: 12 kB / 364.8 MB, free: 7.262 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.0004771/0.1104, allocations: 0.7266 MB / 365.6 MB, free: 6.5 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001655/0.1106, allocations: 56.34 kB / 365.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1106, allocations: 0 / 365.6 MB, free: 6.445 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.584e-05/0.1106, allocations: 11.94 kB / 365.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.1111, allocations: 38.58 kB / 365.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001553/0.1127, allocations: 1.503 MB / 367.2 MB, free: 4.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.1129, allocations: 0.7004 MB / 367.9 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.054e-05/0.113, allocations: 7.984 kB / 367.9 MB, free: 4.035 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.113, allocations: 19.44 kB / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.113, allocations: 0 / 367.9 MB, free: 4.016 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01257/0.1256, allocations: 1.625 MB / 369.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/0.1259, allocations: 214.7 kB / 369.7 MB, free: 2.254 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.737/1.863, allocations: 0 / 369.7 MB, free: 2.254 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Hold/Hold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches