Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.001716/0.001716, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002164/0.002164, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.505/1.505, allocations: 230.2 MB / 257.8 MB, free: 8.496 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2557/0.2557, allocations: 46.89 MB / 361.1 MB, free: 4.625 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002738/0.002738, allocations: 83.86 kB / 0.4968 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3031, allocations: 65.98 MB / 0.5613 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003373/0.3065, allocations: 1.951 MB / 0.5632 GB, free: 3.047 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001802/0.3083, allocations: 1.092 MB / 0.5642 GB, free: 1.949 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.493e-05/0.3084, allocations: 4 kB / 0.5642 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002872/0.3087, allocations: 47.64 kB / 0.5643 GB, free: 1.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.309, allocations: 91.55 kB / 0.5644 GB, free: 1.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3092, allocations: 103.6 kB / 0.5645 GB, free: 1.707 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002224/0.3094, allocations: 147.5 kB / 0.5646 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.3096, allocations: 24.36 kB / 0.5646 GB, free: 1.539 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.3097, allocations: 59.72 kB / 0.5647 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.3098, allocations: 59.62 kB / 0.5647 GB, free: 1.422 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.3098, allocations: 8 kB / 0.5648 GB, free: 1.414 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.674e-05/0.3099, allocations: 47.98 kB / 0.5648 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.566e-05/0.31, allocations: 19.92 kB / 0.5648 GB, free: 1.348 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.345e-05/0.31, allocations: 59.59 kB / 0.5649 GB, free: 1.289 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002677/0.3103, allocations: 151.3 kB / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3103, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3103, allocations: 0 / 0.565 GB, free: 1.141 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.3103, allocations: 4 kB / 0.565 GB, free: 1.137 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000695/0.311, allocations: 488.1 kB / 0.5655 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.311, allocations: 12.03 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.931e-05/0.3111, allocations: 16.84 kB / 0.5655 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003308/0.3114, allocations: 232.9 kB / 0.5657 GB, free: 316 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.3114, allocations: 8.312 kB / 0.5657 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.3114, allocations: 8.375 kB / 0.5658 GB, free: 300 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.3117, allocations: 112.5 kB / 0.5659 GB, free: 172 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3117, allocations: 4 kB / 0.5659 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.3117, allocations: 4 kB / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3117, allocations: 0 / 0.5659 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.3119, allocations: 47.91 kB / 0.5659 GB, free: 116 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006546/0.3125, allocations: 0.5165 MB / 0.5664 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003253/0.3129, allocations: 74.67 kB / 0.5665 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.313, allocations: 52.81 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.313, allocations: 0 / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.3132, allocations: 83.31 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.3132, allocations: 0 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004346/0.3136, allocations: 145.4 kB / 0.5668 GB, free: 15.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.941e-05/0.3137, allocations: 51.41 kB / 0.5668 GB, free: 15.1 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.3139, allocations: 211.1 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.3139, allocations: 33.7 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.314, allocations: 112 kB / 0.5671 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.314, allocations: 35.73 kB / 0.5672 GB, free: 14.7 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-05/0.3141, allocations: 29.72 kB / 0.5672 GB, free: 14.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.3142, allocations: 322.8 kB / 0.5675 GB, free: 14.34 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.587e-05/0.3143, allocations: 31.97 kB / 0.5675 GB, free: 14.3 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.3145, allocations: 64.28 kB / 0.5676 GB, free: 14.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.3147, allocations: 96.2 kB / 0.5677 GB, free: 14.12 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.3147, allocations: 3.938 kB / 0.5677 GB, free: 14.11 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002975/0.315, allocations: 137.4 kB / 0.5678 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.315, allocations: 8 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.315, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.315, allocations: 0 / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.3151, allocations: 23.98 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.3151, allocations: 4 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.126e-05/0.3152, allocations: 16.02 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3152, allocations: 4 kB / 0.5679 GB, free: 13.92 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001168/0.3153, allocations: 132 kB / 0.568 GB, free: 13.78 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3153, allocations: 15.91 kB / 0.568 GB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003144/0.3157, allocations: 131.4 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.3157, allocations: 4 kB / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.3157, allocations: 0 / 0.5682 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3157, allocations: 7.938 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.3159, allocations: 213.5 kB / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.3159, allocations: 0 / 0.5684 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.316, allocations: 15.98 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.316, allocations: 0 / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.316, allocations: 3.938 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.316, allocations: 3.984 kB / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.316, allocations: 0 / 0.5684 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.3164, allocations: 192.9 kB / 0.5686 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.584e-05/0.3164, allocations: 85.02 kB / 0.5687 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.747e-05/0.3165, allocations: 8 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.623e-05/0.3165, allocations: 7.984 kB / 0.5687 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.261e-05/0.3166, allocations: 11.88 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.3166, allocations: 4 kB / 0.5687 GB, free: 13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001325/0.3167, allocations: 148.4 kB / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3167, allocations: 0 / 0.5688 GB, free: 12.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002474/0.317, allocations: 35.98 kB / 0.5689 GB, free: 12.82 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001475/0.3184, allocations: 395.2 kB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.3187, allocations: 71.84 kB / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3187, allocations: 0 / 0.5693 GB, free: 12.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.3188, allocations: 39.91 kB / 0.5693 GB, free: 12.46 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000305/0.3191, allocations: 42.78 kB / 0.5694 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005333/0.3197, allocations: 291.3 kB / 0.5697 GB, free: 12.11 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.32, allocations: 0.7122 MB / 0.5704 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.354e-05/0.3201, allocations: 29.41 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.969e-05/0.3201, allocations: 15.44 kB / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3201, allocations: 0 / 0.5704 GB, free: 11.33 MB / 414.1 MB Notification: Performance of Templates: time 0.005337/0.3255, allocations: 1.926 MB / 0.5723 GB, free: 9.414 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test12.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.9993229932151735]