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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00181/0.00181, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002116/0.002116, allocations: 212.3 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00182/0.00182, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2785, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002963/0.2814, allocations: 1.635 MB / 432.8 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001082/0.2825, allocations: 0.5842 MB / 433.4 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.284e-05/0.2826, allocations: 3.938 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.92e-05/0.2826, allocations: 3.938 kB / 433.4 MB, free: 4.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.2828, allocations: 15.88 kB / 433.4 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2831, allocations: 59.81 kB / 433.5 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.2833, allocations: 55.84 kB / 433.5 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.2834, allocations: 23.91 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.2835, allocations: 27.86 kB / 433.6 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/0.2836, allocations: 27.86 kB / 433.6 MB, free: 4.227 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.648e-05/0.2836, allocations: 4 kB / 433.6 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.939e-05/0.2836, allocations: 4 kB / 433.6 MB, free: 4.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.104e-05/0.2837, allocations: 19.91 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.2837, allocations: 31.75 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.2839, allocations: 72.08 kB / 433.8 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2839, allocations: 3.938 kB / 433.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2839, allocations: 0 / 433.8 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.2839, allocations: 4 kB / 433.8 MB, free: 4.094 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005256/0.2844, allocations: 313.9 kB / 434.1 MB, free: 3.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2845, allocations: 12.03 kB / 434.1 MB, free: 3.746 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.715e-05/0.2845, allocations: 30.75 kB / 434.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001415/0.2847, allocations: 20.88 kB / 434.1 MB, free: 3.688 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.285, allocations: 158.2 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.285, allocations: 12.38 kB / 434.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.285, allocations: 7.938 kB / 434.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.2853, allocations: 134.6 kB / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.2853, allocations: 0 / 434.4 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.2854, allocations: 8 kB / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.2854, allocations: 0 / 434.4 MB, free: 3.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.94e-05/0.2855, allocations: 27.92 kB / 434.5 MB, free: 3.301 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003739/0.2858, allocations: 254.6 kB / 434.7 MB, free: 3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.286, allocations: 98.3 kB / 434.8 MB, free: 2.867 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.626e-05/0.2861, allocations: 39.55 kB / 434.9 MB, free: 2.816 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.797e-05/0.2861, allocations: 11.98 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.2861, allocations: 34.56 kB / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.293e-06/0.2861, allocations: 0 / 434.9 MB, free: 2.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.000291/0.2864, allocations: 101.9 kB / 435 MB, free: 2.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.887e-05/0.2865, allocations: 140.5 kB / 435.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001587/0.2867, allocations: 150.4 kB / 435.3 MB, free: 2.324 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.2867, allocations: 25.7 kB / 435.3 MB, free: 2.293 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.916e-05/0.2867, allocations: 92.14 kB / 435.4 MB, free: 2.199 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.2868, allocations: 3.953 kB / 435.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.531e-05/0.2868, allocations: 25.66 kB / 435.4 MB, free: 2.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.287, allocations: 318.8 kB / 435.7 MB, free: 1.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.351e-05/0.287, allocations: 15.98 kB / 435.8 MB, free: 1.828 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.554e-05/0.2871, allocations: 44.28 kB / 435.8 MB, free: 1.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001124/0.2872, allocations: 60.22 kB / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.2872, allocations: 0 / 435.9 MB, free: 1.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001732/0.2874, allocations: 85.5 kB / 435.9 MB, free: 1.605 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.2874, allocations: 8 kB / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2874, allocations: 0 / 435.9 MB, free: 1.598 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.2874, allocations: 8.156 kB / 436 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.2875, allocations: 11.98 kB / 436 MB, free: 1.578 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2875, allocations: 3.938 kB / 436 MB, free: 1.574 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.463e-05/0.2876, allocations: 4 kB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.447e-06/0.2876, allocations: 7.938 kB / 436 MB, free: 1.562 MB / 334.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 0.0001031/0.2877, allocations: 121.8 kB / 436.1 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.242e-05/0.2878, allocations: 57.66 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.209e-05/0.2878, allocations: 19.91 kB / 436.2 MB, free: 1.348 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.2878, allocations: 4.062 kB / 436.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.2878, allocations: 3.938 kB / 436.2 MB, free: 1.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.2878, allocations: 4 kB / 436.2 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002053/0.288, allocations: 148.7 kB / 436.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.288, allocations: 0 / 436.3 MB, free: 1.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.561e-05/0.2881, allocations: 19.88 kB / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2881, allocations: 0 / 436.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.466e-05/0.2881, allocations: 11.98 kB / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.2881, allocations: 128 / 436.4 MB, free: 1.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.2881, allocations: 7.938 kB / 436.4 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002264/0.2883, allocations: 198 kB / 436.6 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.2884, allocations: 19.94 kB / 436.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.2884, allocations: 0 / 436.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.519e-05/0.2885, allocations: 8 kB / 436.6 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.982e-05/0.2885, allocations: 7.938 kB / 436.6 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.2885, allocations: 7.984 kB / 436.6 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.694e-05/0.2886, allocations: 110.3 kB / 436.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2886, allocations: 0 / 436.7 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000255/0.2889, allocations: 12 kB / 436.7 MB, free: 0.7305 MB / 334.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.0005555/0.2894, allocations: 0.7305 MB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000167/0.2896, allocations: 43.86 kB / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2896, allocations: 0 / 437.5 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.518e-05/0.2896, allocations: 16.3 kB / 437.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.29, allocations: 35.94 kB / 437.6 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.2917, allocations: 1.469 MB / 439 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003582/0.292, allocations: 0.7002 MB / 439.7 MB, free: 13.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.236e-05/0.2921, allocations: 3.984 kB / 439.7 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.241e-05/0.2921, allocations: 19.44 kB / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2921, allocations: 0 / 439.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03108/0.3232, allocations: 2.024 MB / 441.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.82, allocations: 16.48 kB / 441.8 MB, free: 11.61 MB / 350.1 MB " [Timeout remaining time 649] (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 --stepSize=3.99122e-05 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.200212453957647]