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.001375/0.001375, allocations: 116.9 kB / 17.33 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001484/0.001485, allocations: 209.8 kB / 18.27 MB, free: 5.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 60.56 kB / 306.6 MB, free: 0.6289 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1097, allocations: 50.53 MB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003317/0.113, allocations: 1.679 MB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001102/0.1142, allocations: 0.5648 MB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.1143, allocations: 0 / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.8e-05/0.1144, allocations: 7.922 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001466/0.1146, allocations: 7.938 kB / 359.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1149, allocations: 55.88 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001291/0.1151, allocations: 63.78 kB / 359.5 MB, free: 11.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.1152, allocations: 19.98 kB / 359.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001542/0.1154, allocations: 31.84 kB / 359.5 MB, free: 11.66 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.056e-05/0.1155, allocations: 27.86 kB / 359.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.1155, allocations: 4 kB / 359.5 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.882e-05/0.1155, allocations: 4 kB / 359.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.1156, allocations: 15.92 kB / 359.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.119e-05/0.1156, allocations: 35.73 kB / 359.6 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1158, allocations: 67.72 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.1158, allocations: 4 kB / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1158, allocations: 0 / 359.7 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1158, allocations: 0 / 359.7 MB, free: 11.5 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.0005162/0.1164, allocations: 391.3 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1164, allocations: 8.031 kB / 360.1 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.1165, allocations: 38.75 kB / 360.1 MB, free: 11.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.1167, allocations: 20.73 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.1169, allocations: 200.6 kB / 360.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.1169, allocations: 8.375 kB / 360.3 MB, free: 10.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1169, allocations: 7.938 kB / 360.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002928/0.1172, allocations: 130.7 kB / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.1172, allocations: 0 / 360.5 MB, free: 10.6 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.227e-06/0.1172, allocations: 7.875 kB / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.1173, allocations: 0 / 360.5 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.089e-05/0.1174, allocations: 27.98 kB / 360.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003664/0.1177, allocations: 291.4 kB / 360.8 MB, free: 10.22 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.1179, allocations: 94.3 kB / 360.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.355e-05/0.118, allocations: 47.55 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.118, allocations: 3.984 kB / 360.9 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.1181, allocations: 46.5 kB / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1181, allocations: 0 / 361 MB, free: 9.973 MB / 302.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003042/0.1184, allocations: 101.4 kB / 361.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.1185, allocations: 129 kB / 361.2 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.1186, allocations: 156.4 kB / 361.3 MB, free: 9.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.1187, allocations: 29.7 kB / 361.4 MB, free: 9.508 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.651e-05/0.1187, allocations: 88.14 kB / 361.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.154e-05/0.1188, allocations: 7.906 kB / 361.5 MB, free: 9.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/0.1188, allocations: 21.7 kB / 361.5 MB, free: 9.383 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.1189, allocations: 314.8 kB / 361.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.788e-05/0.119, allocations: 11.98 kB / 361.8 MB, free: 9.055 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.566e-05/0.1191, allocations: 48.28 kB / 361.9 MB, free: 8.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1192, allocations: 64.16 kB / 361.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1192, allocations: 0 / 361.9 MB, free: 8.914 MB / 302.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.1194, allocations: 85.52 kB / 362 MB, free: 8.824 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.1194, allocations: 4 kB / 362 MB, free: 8.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.1194, allocations: 4 kB / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.1194, allocations: 0 / 362 MB, free: 8.816 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.918e-05/0.1195, allocations: 19.92 kB / 362 MB, free: 8.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.1195, allocations: 3.938 kB / 362 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.079e-05/0.1196, allocations: 12.09 kB / 362 MB, free: 8.781 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.1196, allocations: 0 / 362 MB, free: 8.781 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.501e-05/0.1197, allocations: 122.9 kB / 362.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.1198, allocations: 65.44 kB / 362.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.1199, allocations: 19.81 kB / 362.2 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1199, allocations: 4 kB / 362.3 MB, free: 8.555 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1199, allocations: 3.938 kB / 362.3 MB, free: 8.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/0.1199, allocations: 3.984 kB / 362.3 MB, free: 8.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001909/0.1201, allocations: 181.6 kB / 362.4 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1201, allocations: 4 kB / 362.4 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-05/0.1202, allocations: 8.125 kB / 362.4 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.081e-06/0.1202, allocations: 8 kB / 362.5 MB, free: 8.301 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.1202, allocations: 3.984 kB / 362.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.1202, allocations: 0 / 362.5 MB, free: 8.297 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.1202, allocations: 11.88 kB / 362.5 MB, free: 8.285 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/0.1204, allocations: 194 kB / 362.7 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.99e-05/0.1205, allocations: 93 kB / 362.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.1205, allocations: 0 / 362.8 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.093e-05/0.1206, allocations: 4 kB / 362.8 MB, free: 7.957 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.543e-05/0.1207, allocations: 19.86 kB / 362.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.1207, allocations: 0 / 362.8 MB, free: 7.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001204/0.1208, allocations: 114.6 kB / 362.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1208, allocations: 0 / 362.9 MB, free: 7.828 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002424/0.121, allocations: 11.98 kB / 362.9 MB, free: 7.816 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.0004874/0.1215, allocations: 0.7266 MB / 363.6 MB, free: 7.055 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1217, allocations: 47.84 kB / 363.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1217, allocations: 0 / 363.7 MB, free: 7.008 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.146e-05/0.1218, allocations: 11.94 kB / 363.7 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.1222, allocations: 31.95 kB / 363.7 MB, free: 6.969 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.124, allocations: 1.497 MB / 365.2 MB, free: 5.352 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/0.1244, allocations: 0.6963 MB / 365.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.831e-05/0.1244, allocations: 0 / 365.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.423e-05/0.1245, allocations: 23.42 kB / 365.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1245, allocations: 0 / 365.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01374/0.1382, allocations: 1.751 MB / 367.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003237/0.1386, allocations: 207.8 kB / 367.9 MB, free: 2.723 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.006/2.145, allocations: 0 / 367.9 MB, free: 2.723 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