Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.001432/0.001432, allocations: 112.7 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.001643/0.001643, allocations: 214 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.431/1.431, allocations: 230.5 MB / 257.4 MB, free: 8 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.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00198/0.00198, allocations: 63.89 kB / 377.8 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2503, allocations: 53.41 MB / 431.2 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.003374/0.2537, allocations: 1.9 MB / 433.1 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.255, allocations: 0.709 MB / 433.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001308/0.2551, allocations: 11.88 kB / 433.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.2553, allocations: 19.8 kB / 433.8 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2554, allocations: 31.73 kB / 433.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004278/0.2558, allocations: 107.8 kB / 434 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.256, allocations: 143.5 kB / 434.1 MB, free: 3.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.2562, allocations: 49.88 kB / 434.2 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001588/0.2564, allocations: 51.8 kB / 434.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.2565, allocations: 67.56 kB / 434.3 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.6e-05/0.2565, allocations: 15.94 kB / 434.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.777e-05/0.2566, allocations: 16 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.176e-05/0.2566, allocations: 27.92 kB / 434.3 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.616e-05/0.2567, allocations: 67.55 kB / 434.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002529/0.257, allocations: 143.7 kB / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.257, allocations: 0 / 434.5 MB, free: 3.309 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.257, allocations: 4 kB / 434.5 MB, free: 3.305 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.7e-06/0.257, allocations: 0 / 434.5 MB, free: 3.305 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.0006086/0.2576, allocations: 377.6 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2576, allocations: 12.03 kB / 434.9 MB, free: 2.895 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.2577, allocations: 46.73 kB / 435 MB, free: 2.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.2578, allocations: 28.83 kB / 435 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003612/0.2582, allocations: 194.2 kB / 435.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.2582, allocations: 7.938 kB / 435.2 MB, free: 2.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2582, allocations: 12 kB / 435.2 MB, free: 2.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005919/0.2588, allocations: 270.1 kB / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.2588, allocations: 0 / 435.5 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.683e-05/0.2588, allocations: 7.984 kB / 435.5 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.2588, allocations: 8 kB / 435.5 MB, free: 2.273 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002063/0.2591, allocations: 75.77 kB / 435.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004801/0.2595, allocations: 398.6 kB / 435.9 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004294/0.26, allocations: 209 kB / 436.2 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001857/0.2602, allocations: 100.2 kB / 436.3 MB, free: 1.391 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.472e-05/0.2602, allocations: 11.98 kB / 436.3 MB, free: 1.379 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.2602, allocations: 42.5 kB / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of pre-optimization done (n=17): time 1.112e-06/0.2602, allocations: 0 / 436.3 MB, free: 1.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0005442/0.2608, allocations: 217.2 kB / 436.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001386/0.2609, allocations: 200.4 kB / 436.7 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001935/0.2611, allocations: 179.2 kB / 436.9 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.558e-05/0.2611, allocations: 33.7 kB / 436.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.258e-05/0.2612, allocations: 104.1 kB / 437 MB, free: 0.543 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.201e-05/0.2612, allocations: 11.98 kB / 437 MB, free: 0.5312 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.402e-05/0.2613, allocations: 33.67 kB / 437.1 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.2614, allocations: 326.8 kB / 437.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/0.2615, allocations: 23.98 kB / 437.4 MB, free: 144 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001635/0.2617, allocations: 130.5 kB / 437.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.2619, allocations: 173.5 kB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2619, allocations: 0 / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002733/0.2622, allocations: 157.7 kB / 437.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.2622, allocations: 18.47 kB / 437.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.2622, allocations: 7.984 kB / 437.9 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.2622, allocations: 7.984 kB / 437.9 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2623, allocations: 39.92 kB / 437.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.2624, allocations: 7.984 kB / 437.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.771e-05/0.2625, allocations: 11.94 kB / 438 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.2625, allocations: 8 kB / 438 MB, free: 15.48 MB / 350.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.0001251/0.2626, allocations: 137.8 kB / 438.1 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002895/0.2629, allocations: 149.3 kB / 438.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.13e-05/0.2629, allocations: 25.39 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2629, allocations: 4 kB / 438.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.2629, allocations: 4 kB / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2629, allocations: 0 / 438.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.2632, allocations: 188.6 kB / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2632, allocations: 480 / 438.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2634, allocations: 31.98 kB / 438.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2634, allocations: 11.97 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.2634, allocations: 4 kB / 438.5 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.2634, allocations: 11.92 kB / 438.5 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.2634, allocations: 3.938 kB / 438.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004146/0.2638, allocations: 353.2 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.191e-05/0.2639, allocations: 35.81 kB / 438.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.2639, allocations: 4 kB / 438.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.264, allocations: 11.98 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.2641, allocations: 7.938 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.2641, allocations: 4 kB / 438.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001222/0.2642, allocations: 136.4 kB / 439.1 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2642, allocations: 4 kB / 439.1 MB, free: 14.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003173/0.2645, allocations: 20 kB / 439.1 MB, free: 14.27 MB / 350.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.0007343/0.2653, allocations: 0.8936 MB / 440 MB, free: 13.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.2655, allocations: 108.5 kB / 440.1 MB, free: 13.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.2655, allocations: 4.25 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.041e-05/0.2656, allocations: 8 kB / 440.1 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006464/0.2662, allocations: 110.1 kB / 440.2 MB, free: 13.12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002563/0.2688, allocations: 2.082 MB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003675/0.2692, allocations: 0.7203 MB / 443 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.837e-05/0.2692, allocations: 13.67 kB / 443 MB, free: 10.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.536e-05/0.2693, allocations: 51.41 kB / 443.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2693, allocations: 0 / 443.1 MB, free: 10.03 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03291/0.3022, allocations: 3.6 MB / 446.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.69/10.99, allocations: 11.56 kB / 446.7 MB, free: 6.551 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.98486e-05 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.384621419012547]