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.00151/0.00151, 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.001392/0.001392, allocations: 183.9 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.411/1.411, allocations: 225.6 MB / 252.5 MB, free: 13.01 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 51.91 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2593, allocations: 52.19 MB / 422.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003163/0.2625, allocations: 1.883 MB / 424.5 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.2635, allocations: 0.6274 MB / 425.2 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.2637, allocations: 15.81 kB / 425.2 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.2638, allocations: 23.8 kB / 425.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.2639, allocations: 19.8 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003775/0.2643, allocations: 114.9 kB / 425.3 MB, free: 11.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001973/0.2645, allocations: 135.6 kB / 425.5 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001372/0.2646, allocations: 45.89 kB / 425.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2647, allocations: 55.73 kB / 425.6 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.254e-05/0.2648, allocations: 51.7 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.324e-05/0.2648, allocations: 8 kB / 425.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.052e-05/0.2648, allocations: 12 kB / 425.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.505e-05/0.2649, allocations: 43.84 kB / 425.7 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.989e-05/0.265, allocations: 59.61 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002081/0.2652, allocations: 147.7 kB / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2652, allocations: 0 / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2652, allocations: 0 / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.769e-06/0.2652, allocations: 0 / 425.9 MB, free: 11.33 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.000576/0.2658, allocations: 377.7 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2658, allocations: 8.031 kB / 426.2 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.2658, allocations: 46.73 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.2659, allocations: 28.73 kB / 426.3 MB, free: 10.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003129/0.2662, allocations: 180.1 kB / 426.5 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2662, allocations: 15.88 kB / 426.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.833e-05/0.2662, allocations: 8 kB / 426.5 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005538/0.2668, allocations: 268.2 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2668, allocations: 3.938 kB / 426.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.2668, allocations: 8 kB / 426.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2668, allocations: 4 kB / 426.8 MB, free: 10.31 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002028/0.267, allocations: 75.81 kB / 426.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.2675, allocations: 394.6 kB / 427.3 MB, free: 9.793 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/0.2679, allocations: 209 kB / 427.5 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001937/0.2681, allocations: 104.3 kB / 427.6 MB, free: 9.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.2681, allocations: 3.984 kB / 427.6 MB, free: 9.422 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.2682, allocations: 50.5 kB / 427.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 2.926e-06/0.2682, allocations: 3.984 kB / 427.6 MB, free: 9.359 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005251/0.2687, allocations: 213.3 kB / 427.8 MB, free: 9.145 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.2688, allocations: 200.2 kB / 428 MB, free: 8.906 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.269, allocations: 179.2 kB / 428.2 MB, free: 8.723 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.269, allocations: 29.7 kB / 428.2 MB, free: 8.688 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.907e-05/0.2691, allocations: 112 kB / 428.3 MB, free: 8.574 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.2691, allocations: 12.33 kB / 428.4 MB, free: 8.562 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.2692, allocations: 29.7 kB / 428.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.2693, allocations: 326.8 kB / 428.7 MB, free: 8.199 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.2694, allocations: 23.98 kB / 428.7 MB, free: 8.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.2695, allocations: 137.4 kB / 428.9 MB, free: 7.992 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002035/0.2697, allocations: 161.5 kB / 429 MB, free: 7.785 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2697, allocations: 0 / 429 MB, free: 7.785 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002689/0.27, allocations: 169.7 kB / 429.2 MB, free: 7.613 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.27, allocations: 7.938 kB / 429.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.27, allocations: 4 kB / 429.2 MB, free: 7.602 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.27, allocations: 4 kB / 429.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2701, allocations: 35.92 kB / 429.2 MB, free: 7.562 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.2701, allocations: 11.92 kB / 429.2 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.836e-05/0.2702, allocations: 19.89 kB / 429.3 MB, free: 7.531 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.2702, allocations: 8 kB / 429.3 MB, free: 7.523 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.0001105/0.2704, allocations: 133.8 kB / 429.4 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000283/0.2706, allocations: 149.4 kB / 429.5 MB, free: 7.23 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.375e-05/0.2707, allocations: 17.41 kB / 429.6 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.2707, allocations: 4 kB / 429.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.2707, allocations: 3.984 kB / 429.6 MB, free: 7.203 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2707, allocations: 4 kB / 429.6 MB, free: 7.199 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/0.271, allocations: 188.6 kB / 429.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.271, allocations: 0 / 429.8 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.2711, allocations: 39.91 kB / 429.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2711, allocations: 7.969 kB / 429.8 MB, free: 6.926 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.2711, allocations: 4 kB / 429.8 MB, free: 6.922 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2711, allocations: 3.984 kB / 429.8 MB, free: 6.918 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2711, allocations: 4 kB / 429.8 MB, free: 6.914 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000421/0.2716, allocations: 353.2 kB / 430.2 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.2716, allocations: 43.75 kB / 430.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.2717, allocations: 8 kB / 430.2 MB, free: 6.492 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.2718, allocations: 7.984 kB / 430.2 MB, free: 6.484 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.954e-05/0.2718, allocations: 4 kB / 430.2 MB, free: 6.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.2718, allocations: 11.98 kB / 430.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001181/0.272, allocations: 133.2 kB / 430.4 MB, free: 6.34 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.272, allocations: 3.938 kB / 430.4 MB, free: 6.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003159/0.2723, allocations: 20 kB / 430.4 MB, free: 6.316 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.0007141/0.273, allocations: 0.8937 MB / 431.3 MB, free: 5.387 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2733, allocations: 112.7 kB / 431.4 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2733, allocations: 4.062 kB / 431.4 MB, free: 5.273 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.574e-05/0.2733, allocations: 19.92 kB / 431.4 MB, free: 5.254 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006124/0.2739, allocations: 98.73 kB / 431.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.2765, allocations: 2.069 MB / 433.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.2768, allocations: 0.728 MB / 434.3 MB, free: 2.141 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.035e-05/0.2769, allocations: 21.47 kB / 434.3 MB, free: 2.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.993e-05/0.2769, allocations: 39.42 kB / 434.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2769, allocations: 0 / 434.4 MB, free: 2.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0297/0.3067, allocations: 3.568 MB / 437.9 MB, free: 14.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.55/10.86, allocations: 10.62 kB / 437.9 MB, free: 14.66 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.237942496081814]