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.000814/0.000814, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003975/0.003975, allocations: 159.5 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.883/0.883, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|sample1.y|hold1.y|// shiftSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.114e-05/2.273e-05, allocations: 2.281 kB / 325.8 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.002122/0.002145, allocations: 1.847 MB / 327.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008868/0.003032, allocations: 0.6583 MB / 328.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000122/0.003154, allocations: 11.88 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.003301, allocations: 19.8 kB / 328.3 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.003417, allocations: 27.73 kB / 328.4 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.003719, allocations: 107.6 kB / 328.5 MB, free: 12.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.00388, allocations: 155.4 kB / 328.6 MB, free: 12.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.004004, allocations: 41.97 kB / 328.6 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001476/0.004152, allocations: 83.8 kB / 328.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.412e-05/0.004216, allocations: 31.89 kB / 328.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.004235, allocations: 15.94 kB / 328.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.967e-05/0.004275, allocations: 16 kB / 328.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.218e-05/0.004327, allocations: 27.91 kB / 328.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.115e-05/0.004358, allocations: 35.86 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.00455, allocations: 155.4 kB / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004552, allocations: 0 / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.004554, allocations: 0 / 329 MB, free: 12.15 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.004559, allocations: 4 kB / 329 MB, free: 12.14 MB / 298.7 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.0004507/0.00501, allocations: 377.7 kB / 329.4 MB, free: 11.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.372e-05/0.005044, allocations: 15.97 kB / 329.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.005156, allocations: 24.84 kB / 329.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.005384, allocations: 197.9 kB / 329.6 MB, free: 11.49 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.005396, allocations: 8.562 kB / 329.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.00541, allocations: 8.375 kB / 329.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.005799, allocations: 309 kB / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.005808, allocations: 0 / 329.9 MB, free: 11.14 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.005821, allocations: 4 kB / 329.9 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.005827, allocations: 8 kB / 329.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.005946, allocations: 79.83 kB / 330 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003319/0.006277, allocations: 347.1 kB / 330.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.006558, allocations: 212.9 kB / 330.6 MB, free: 10.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.006673, allocations: 100.4 kB / 330.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.006696, allocations: 11.92 kB / 330.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.006718, allocations: 38.56 kB / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.472e-06/0.006719, allocations: 0 / 330.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0003329/0.007052, allocations: 213.6 kB / 330.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.974e-05/0.007132, allocations: 200 kB / 331.1 MB, free: 9.785 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.007256, allocations: 190.9 kB / 331.3 MB, free: 9.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.00727, allocations: 25.7 kB / 331.3 MB, free: 9.559 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.007322, allocations: 112.1 kB / 331.4 MB, free: 9.445 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.007334, allocations: 3.938 kB / 331.4 MB, free: 9.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.007364, allocations: 21.67 kB / 331.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.144e-05/0.007445, allocations: 322.8 kB / 331.8 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.007468, allocations: 7.984 kB / 331.8 MB, free: 9.082 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.259e-05/0.007511, allocations: 56.27 kB / 331.8 MB, free: 9.012 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.556e-05/0.007556, allocations: 29.81 kB / 331.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.007558, allocations: 0 / 331.9 MB, free: 8.977 MB / 298.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.581e-05/0.007634, allocations: 65.56 kB / 331.9 MB, free: 8.906 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.007647, allocations: 8 kB / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.007651, allocations: 0 / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.007661, allocations: 0 / 331.9 MB, free: 8.898 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.089e-05/0.007702, allocations: 7.984 kB / 332 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.007709, allocations: 8 kB / 332 MB, free: 8.883 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.695e-05/0.007736, allocations: 4 kB / 332 MB, free: 8.879 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-06/0.00774, allocations: 0 / 332 MB, free: 8.879 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 7.361e-05/0.007814, allocations: 125.8 kB / 332.1 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001486/0.007962, allocations: 145.7 kB / 332.2 MB, free: 8.598 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.947e-05/0.007992, allocations: 21.47 kB / 332.2 MB, free: 8.582 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.61e-06/0.007997, allocations: 7.984 kB / 332.3 MB, free: 8.574 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.008002, allocations: 4.234 kB / 332.3 MB, free: 8.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.008006, allocations: 7.969 kB / 332.3 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001423/0.008149, allocations: 145.2 kB / 332.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.008151, allocations: 3.984 kB / 332.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.533e-05/0.008216, allocations: 35.92 kB / 332.4 MB, free: 8.352 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.008222, allocations: 7.984 kB / 332.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.00823, allocations: 4 kB / 332.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.008233, allocations: 4 kB / 332.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008234, allocations: 0 / 332.5 MB, free: 8.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002232/0.008457, allocations: 357.1 kB / 332.8 MB, free: 7.961 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.875e-05/0.008506, allocations: 43.83 kB / 332.9 MB, free: 7.918 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.008521, allocations: 4 kB / 332.9 MB, free: 7.914 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.505e-05/0.008596, allocations: 11.98 kB / 332.9 MB, free: 7.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.008621, allocations: 4 kB / 332.9 MB, free: 7.898 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.008628, allocations: 11.94 kB / 332.9 MB, free: 7.887 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.586e-05/0.008693, allocations: 136.4 kB / 333 MB, free: 7.754 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.008693, allocations: 0 / 333 MB, free: 7.754 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001725/0.008866, allocations: 19.94 kB / 333 MB, free: 7.734 MB / 298.7 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 6.884e-05/0.008935, allocations: 107.2 kB / 333.1 MB, free: 7.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001369/0.009072, allocations: 67.89 kB / 333.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.009073, allocations: 0 / 333.2 MB, free: 7.555 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.106e-05/0.009094, allocations: 15.92 kB / 333.2 MB, free: 7.539 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.009474, allocations: 105 kB / 333.3 MB, free: 7.438 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006868/0.01016, allocations: 471.5 kB / 333.8 MB, free: 6.934 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.648e-05/0.01024, allocations: 106.8 kB / 333.9 MB, free: 6.809 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.01027, allocations: 16.5 kB / 333.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of SimCode: time 5.1e-07/0.01027, allocations: 0 / 333.9 MB, free: 6.793 MB / 298.7 MB Notification: Performance of Templates: time 0.002274/0.01254, allocations: 1.688 MB / 335.6 MB, free: 5.117 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/HoldWithDAeffects1/HoldWithDAeffects1.csv","/var/lib/jenkins/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: 4.152494770474732]