Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.001635/0.001635, allocations: 116.1 kB / 18.45 MB, free: 4.562 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.001833/0.001833, allocations: 194.8 kB / 21.4 MB, free: 1.629 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.516/1.516, allocations: 225.6 MB / 249.8 MB, free: 3.609 MB / 190.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: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 52.02 kB / 366.8 MB, free: 344 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.09381, allocations: 52.14 MB / 419 MB, free: 12.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002812/0.09662, allocations: 1.582 MB / 420.5 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008495/0.09747, allocations: 478.7 kB / 421 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.947e-05/0.09755, allocations: 8 kB / 421 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.071e-05/0.0976, allocations: 7.875 kB / 421 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001324/0.09773, allocations: 11.92 kB / 421 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002539/0.09799, allocations: 43.83 kB / 421.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.09809, allocations: 39.92 kB / 421.1 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.614e-05/0.09818, allocations: 11.98 kB / 421.1 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.428e-05/0.09826, allocations: 27.8 kB / 421.2 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.308e-05/0.09831, allocations: 15.92 kB / 421.2 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.09833, allocations: 4 kB / 421.2 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.09834, allocations: 8 kB / 421.2 MB, free: 9.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.543e-05/0.09839, allocations: 15.92 kB / 421.2 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.33e-05/0.09844, allocations: 23.81 kB / 421.2 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.09856, allocations: 51.73 kB / 421.3 MB, free: 9.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.09856, allocations: 3.938 kB / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09856, allocations: 0 / 421.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.09857, allocations: 4 kB / 421.3 MB, free: 9.762 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004815/0.09905, allocations: 375.1 kB / 421.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.09909, allocations: 12.02 kB / 421.7 MB, free: 9.336 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.355e-05/0.09912, allocations: 8.891 kB / 421.7 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.09937, allocations: 200.2 kB / 421.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.796e-06/0.09938, allocations: 384 / 421.9 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.0994, allocations: 8.375 kB / 421.9 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.09967, allocations: 129.3 kB / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.09968, allocations: 0 / 422 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.09969, allocations: 4 kB / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.09969, allocations: 0 / 422 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.09977, allocations: 23.92 kB / 422 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003221/0.1001, allocations: 265.8 kB / 422.3 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.1003, allocations: 138.2 kB / 422.4 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.53e-05/0.1004, allocations: 25.77 kB / 422.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1004, allocations: 8 kB / 422.5 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1004, allocations: 30.56 kB / 422.5 MB, free: 8.352 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1004, allocations: 4 kB / 422.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.1006, allocations: 81.55 kB / 422.6 MB, free: 8.262 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/0.1007, allocations: 81.11 kB / 422.6 MB, free: 8.164 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1008, allocations: 135.7 kB / 422.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.1008, allocations: 29.7 kB / 422.8 MB, free: 7.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.1009, allocations: 84.12 kB / 422.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1009, allocations: 7.953 kB / 422.9 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.275e-05/0.101, allocations: 17.84 kB / 422.9 MB, free: 7.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1011, allocations: 322.8 kB / 423.2 MB, free: 7.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.082e-05/0.1011, allocations: 7.984 kB / 423.2 MB, free: 7.539 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.424e-05/0.1012, allocations: 43.3 kB / 423.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.695e-05/0.1013, allocations: 47.42 kB / 423.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1013, allocations: 0 / 423.3 MB, free: 7.426 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001404/0.1014, allocations: 73.52 kB / 423.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1014, allocations: 7.984 kB / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.1014, allocations: 0 / 423.4 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.1015, allocations: 8.125 kB / 423.4 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.1015, allocations: 7.938 kB / 423.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1015, allocations: 4 kB / 423.4 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.018e-05/0.1016, allocations: 3.938 kB / 423.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.034e-05/0.1016, allocations: 7.984 kB / 423.4 MB, free: 7.309 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (4): * Single equations (assignments): 4 * 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 8.912e-05/0.1017, allocations: 117.8 kB / 423.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.771e-05/0.1018, allocations: 53.58 kB / 423.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.365e-05/0.1018, allocations: 12.25 kB / 423.6 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1018, allocations: 4 kB / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.387e-06/0.1018, allocations: 0 / 423.6 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.658e-06/0.1018, allocations: 4 kB / 423.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.102, allocations: 173.6 kB / 423.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.102, allocations: 336 / 423.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.584e-05/0.1021, allocations: 11.98 kB / 423.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1021, allocations: 0 / 423.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.1021, allocations: 0 / 423.8 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.1021, allocations: 4 kB / 423.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1021, allocations: 0 / 423.8 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001952/0.1023, allocations: 184.2 kB / 424 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1023, allocations: 89.05 kB / 424.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.478e-05/0.1024, allocations: 0 / 424.1 MB, free: 6.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.344e-05/0.1024, allocations: 11.98 kB / 424.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.47e-05/0.1024, allocations: 0 / 424.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.1025, allocations: 0 / 424.1 MB, free: 6.547 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.835e-05/0.1025, allocations: 109.8 kB / 424.2 MB, free: 6.441 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1025, allocations: 8 kB / 424.2 MB, free: 6.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002202/0.1028, allocations: 4 kB / 424.2 MB, free: 6.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.0001091/0.1029, allocations: 99.72 kB / 424.3 MB, free: 6.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.103, allocations: 31.92 kB / 424.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.103, allocations: 0 / 424.3 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.629e-05/0.103, allocations: 16.17 kB / 424.4 MB, free: 6.277 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1034, allocations: 34.19 kB / 424.4 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.1037, allocations: 193.1 kB / 424.6 MB, free: 6.023 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/0.104, allocations: 0.6961 MB / 425.3 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.954e-05/0.1041, allocations: 7.438 kB / 425.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1041, allocations: 0 / 425.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of Templates: time 0.002343/0.1064, allocations: 0.7525 MB / 426 MB, free: 4.547 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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: 6.998523057991406]