Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001704/0.001704, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.002134/0.002134, allocations: 185 kB / 24.49 MB, free: 3.941 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.353/1.353, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 47.92 kB / 371.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2432, allocations: 52.17 MB / 423.4 MB, free: 14.39 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003025/0.2463, allocations: 1.833 MB / 425.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001048/0.2473, allocations: 0.5845 MB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.2474, allocations: 7.938 kB / 425.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001313/0.2475, allocations: 15.8 kB / 425.8 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.2477, allocations: 27.78 kB / 425.8 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.248, allocations: 105.8 kB / 425.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.2482, allocations: 143.5 kB / 426.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001378/0.2483, allocations: 48.02 kB / 426.1 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.2484, allocations: 59.7 kB / 426.2 MB, free: 11.55 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.871e-05/0.2485, allocations: 51.72 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.481e-05/0.2485, allocations: 8 kB / 426.2 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.317e-05/0.2486, allocations: 12 kB / 426.2 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.712e-05/0.2486, allocations: 27.86 kB / 426.3 MB, free: 11.46 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.948e-05/0.2487, allocations: 47.73 kB / 426.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.2489, allocations: 151.2 kB / 426.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2489, allocations: 4 kB / 426.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.2489, allocations: 0 / 426.5 MB, free: 11.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2489, allocations: 0 / 426.5 MB, free: 11.26 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.0005595/0.2494, allocations: 381.6 kB / 426.8 MB, free: 10.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.2495, allocations: 8.031 kB / 426.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.332e-05/0.2495, allocations: 4.375 kB / 426.9 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.2495, allocations: 38.75 kB / 426.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2496, allocations: 20.8 kB / 426.9 MB, free: 10.78 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003392/0.2499, allocations: 191.6 kB / 427.1 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.2499, allocations: 8 kB / 427.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.25, allocations: 8 kB / 427.1 MB, free: 10.55 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000574/0.2505, allocations: 309.9 kB / 427.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.2505, allocations: 0 / 427.4 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.2505, allocations: 3.984 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.2506, allocations: 7.938 kB / 427.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002023/0.2508, allocations: 79.77 kB / 427.5 MB, free: 10.12 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.2512, allocations: 382.6 kB / 427.9 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004178/0.2516, allocations: 205 kB / 428.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001836/0.2518, allocations: 108.3 kB / 428.2 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.2518, allocations: 7.938 kB / 428.2 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.2519, allocations: 42.5 kB / 428.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.393e-06/0.2519, allocations: 0 / 428.2 MB, free: 9.262 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005218/0.2524, allocations: 221.3 kB / 428.5 MB, free: 9.039 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.2525, allocations: 191.9 kB / 428.6 MB, free: 8.809 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001664/0.2527, allocations: 179.2 kB / 428.8 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.2527, allocations: 29.7 kB / 428.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.064e-05/0.2528, allocations: 100.1 kB / 428.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.2528, allocations: 15.94 kB / 429 MB, free: 8.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.441e-05/0.2528, allocations: 33.72 kB / 429 MB, free: 8.434 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.253, allocations: 323.2 kB / 429.3 MB, free: 8.109 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.253, allocations: 23.98 kB / 429.3 MB, free: 8.086 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.2532, allocations: 163.4 kB / 429.5 MB, free: 7.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002055/0.2534, allocations: 161.6 kB / 429.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.2534, allocations: 0 / 429.6 MB, free: 7.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.000281/0.2537, allocations: 169.6 kB / 429.8 MB, free: 7.492 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2537, allocations: 4 kB / 429.8 MB, free: 7.488 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.2537, allocations: 8 kB / 429.8 MB, free: 7.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/0.2537, allocations: 7.984 kB / 429.8 MB, free: 7.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2538, allocations: 39.86 kB / 429.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.2538, allocations: 8.438 kB / 429.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.937e-05/0.2539, allocations: 19.89 kB / 429.9 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.254, allocations: 12 kB / 429.9 MB, free: 7.395 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.000116/0.2541, allocations: 137.7 kB / 430 MB, free: 7.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002776/0.2543, allocations: 141.4 kB / 430.2 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.603e-05/0.2544, allocations: 21.39 kB / 430.2 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.311e-06/0.2544, allocations: 4 kB / 430.2 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/0.2544, allocations: 4 kB / 430.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2544, allocations: 0 / 430.2 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002597/0.2547, allocations: 176.7 kB / 430.4 MB, free: 6.859 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.2547, allocations: 3.938 kB / 430.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001325/0.2548, allocations: 35.92 kB / 430.4 MB, free: 6.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.2548, allocations: 3.938 kB / 430.4 MB, free: 6.816 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.2548, allocations: 8 kB / 430.4 MB, free: 6.809 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/0.2548, allocations: 7.984 kB / 430.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.2548, allocations: 0 / 430.4 MB, free: 6.801 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003995/0.2552, allocations: 353.2 kB / 430.8 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.2553, allocations: 39.75 kB / 430.8 MB, free: 6.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.542e-05/0.2553, allocations: 4.234 kB / 430.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001463/0.2555, allocations: 15.98 kB / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.652e-05/0.2555, allocations: 0 / 430.8 MB, free: 6.371 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.2555, allocations: 11.98 kB / 430.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.00011/0.2556, allocations: 137.1 kB / 431 MB, free: 6.227 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2556, allocations: 0 / 431 MB, free: 6.227 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003127/0.2559, allocations: 20 kB / 431 MB, free: 6.207 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.0007306/0.2567, allocations: 0.8937 MB / 431.9 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.2569, allocations: 111.7 kB / 432 MB, free: 5.172 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.2569, allocations: 4 kB / 432 MB, free: 5.168 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.257, allocations: 12.16 kB / 432 MB, free: 5.156 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006239/0.2576, allocations: 105.5 kB / 432.1 MB, free: 5.055 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.2606, allocations: 2.167 MB / 434.3 MB, free: 2.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001235/0.2607, allocations: 106.7 kB / 434.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.611e-05/0.2608, allocations: 21.48 kB / 434.4 MB, free: 2.547 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.955e-05/0.2609, allocations: 43.42 kB / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2609, allocations: 0 / 434.5 MB, free: 2.504 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02392/0.2848, allocations: 3.738 MB / 438.2 MB, free: 14.96 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.75/11.04, allocations: 6.641 kB / 438.2 MB, free: 14.95 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.40687931003049]