Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002168, allocations: 181.8 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001666/0.001666, allocations: 47.92 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2755, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.003012/0.2785, allocations: 1.622 MB / 424.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009794/0.2795, allocations: 0.5065 MB / 424.8 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001016/0.2796, allocations: 4 kB / 424.8 MB, free: 12.44 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.525e-05/0.2797, allocations: 11.86 kB / 424.8 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.2798, allocations: 7.875 kB / 424.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003159/0.2801, allocations: 55.81 kB / 424.9 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.2803, allocations: 55.78 kB / 424.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.2804, allocations: 11.98 kB / 424.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.775e-05/0.2805, allocations: 23.88 kB / 424.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.252e-05/0.2805, allocations: 39.83 kB / 425 MB, free: 12.24 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.771e-05/0.2806, allocations: 4 kB / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.041e-05/0.2806, allocations: 0 / 425 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.953e-05/0.2806, allocations: 15.94 kB / 425 MB, free: 12.22 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.2807, allocations: 27.8 kB / 425 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.2808, allocations: 67.05 kB / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2808, allocations: 0 / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2808, allocations: 0 / 425.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.2808, allocations: 0 / 425.1 MB, free: 12.13 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.000475/0.2813, allocations: 314.9 kB / 425.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.2813, allocations: 12.03 kB / 425.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.2814, allocations: 34.75 kB / 425.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.274e-05/0.2814, allocations: 16.84 kB / 425.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.2816, allocations: 150 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.2817, allocations: 8.312 kB / 425.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.2817, allocations: 7.938 kB / 425.6 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.282, allocations: 126.8 kB / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.282, allocations: 0 / 425.7 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.282, allocations: 4 kB / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.578e-06/0.282, allocations: 0 / 425.8 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.407e-05/0.2821, allocations: 31.91 kB / 425.8 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.2825, allocations: 258.5 kB / 426 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001542/0.2826, allocations: 94.48 kB / 426.1 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.243e-05/0.2827, allocations: 47.41 kB / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.2827, allocations: 0 / 426.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.2828, allocations: 46.48 kB / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.2828, allocations: 0 / 426.2 MB, free: 10.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002926/0.2831, allocations: 93.56 kB / 426.3 MB, free: 10.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.091e-05/0.2831, allocations: 136.5 kB / 426.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.2833, allocations: 150.2 kB / 426.6 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.2833, allocations: 29.7 kB / 426.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.969e-05/0.2834, allocations: 96.09 kB / 426.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2834, allocations: 11.88 kB / 426.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.2834, allocations: 21.72 kB / 426.7 MB, free: 10.22 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2836, allocations: 318.8 kB / 427.1 MB, free: 9.898 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.382e-05/0.2836, allocations: 12 kB / 427.1 MB, free: 9.887 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.2837, allocations: 52.22 kB / 427.1 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.2838, allocations: 60.22 kB / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2838, allocations: 0 / 427.2 MB, free: 9.746 MB / 334.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001838/0.284, allocations: 89.5 kB / 427.3 MB, free: 9.652 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.284, allocations: 4 kB / 427.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.284, allocations: 0 / 427.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.284, allocations: 4 kB / 427.3 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.532e-05/0.2841, allocations: 11.98 kB / 427.3 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.2841, allocations: 11.88 kB / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.2842, allocations: 0 / 427.3 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.2842, allocations: 8.156 kB / 427.3 MB, free: 9.613 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 9.132e-05/0.2843, allocations: 121.8 kB / 427.4 MB, free: 9.484 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.2844, allocations: 61.58 kB / 427.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.2844, allocations: 11.97 kB / 427.5 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2844, allocations: 3.938 kB / 427.5 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.2844, allocations: 3.938 kB / 427.5 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2844, allocations: 4 kB / 427.5 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.2846, allocations: 144.7 kB / 427.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2846, allocations: 64 / 427.7 MB, free: 9.207 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.366e-05/0.2847, allocations: 19.98 kB / 427.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2847, allocations: 0 / 427.7 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.2847, allocations: 8 kB / 427.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2847, allocations: 0 / 427.7 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.2847, allocations: 3.938 kB / 427.7 MB, free: 9.176 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.2849, allocations: 202 kB / 427.9 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.451e-05/0.285, allocations: 15.94 kB / 427.9 MB, free: 8.938 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.285, allocations: 4 kB / 427.9 MB, free: 8.934 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.42e-05/0.2851, allocations: 4 kB / 427.9 MB, free: 8.93 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.2851, allocations: 8.109 kB / 427.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.2851, allocations: 8 kB / 427.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.577e-05/0.2852, allocations: 112.9 kB / 428 MB, free: 8.805 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2852, allocations: 0 / 428 MB, free: 8.805 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.2854, allocations: 12 kB / 428 MB, free: 8.793 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.0005371/0.286, allocations: 0.7266 MB / 428.8 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000166/0.2861, allocations: 51.84 kB / 428.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2861, allocations: 0 / 428.8 MB, free: 7.98 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.2862, allocations: 15.88 kB / 428.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.2866, allocations: 28.02 kB / 428.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.2881, allocations: 1.461 MB / 430.3 MB, free: 6.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.2884, allocations: 0.7 MB / 431 MB, free: 5.629 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.683e-05/0.2885, allocations: 8 kB / 431 MB, free: 5.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.478e-05/0.2885, allocations: 23.42 kB / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2885, allocations: 0 / 431.1 MB, free: 5.598 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02952/0.3181, allocations: 1.991 MB / 433 MB, free: 3.738 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/10.8, allocations: 5.156 kB / 433 MB, free: 3.738 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Hold.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Hold.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_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.219012673012912]