Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.001482/0.001482, allocations: 106 kB / 21.22 MB, free: 0.6758 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.00163/0.00163, allocations: 189.3 kB / 24.51 MB, free: 4.051 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.541/1.541, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.262/0.262, allocations: 44.9 MB / 353.5 MB, free: 11.84 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003089/0.003089, allocations: 63.91 kB / 497.7 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4063/0.4094, allocations: 64.3 MB / 0.5489 GB, free: 13.15 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004038/0.4135, allocations: 1.951 MB / 0.5508 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00226/0.4157, allocations: 0.9442 MB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.4159, allocations: 1.5 kB / 0.5517 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.4163, allocations: 37.45 kB / 0.5517 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.4166, allocations: 68.19 kB / 0.5518 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004979/0.4171, allocations: 130.2 kB / 0.5519 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.4174, allocations: 138.5 kB / 0.5521 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.4176, allocations: 24.86 kB / 0.5521 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.4177, allocations: 62.7 kB / 0.5521 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.4179, allocations: 49.12 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.4179, allocations: 6.781 kB / 0.5522 GB, free: 10.54 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.418, allocations: 50.28 kB / 0.5522 GB, free: 10.52 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.4181, allocations: 30.92 kB / 0.5523 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.576e-05/0.4182, allocations: 50.14 kB / 0.5523 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.4186, allocations: 147.4 kB / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.4186, allocations: 1.25 kB / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4186, allocations: 0 / 0.5525 GB, free: 10.36 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.4186, allocations: 0 / 0.5525 GB, free: 10.36 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.0008372/0.4194, allocations: 407.3 kB / 0.5528 GB, free: 9.969 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4195, allocations: 14.78 kB / 0.5529 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.991e-05/0.4195, allocations: 15.38 kB / 0.5529 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003741/0.4199, allocations: 170.7 kB / 0.553 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.4199, allocations: 7.656 kB / 0.553 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.632e-05/0.42, allocations: 13.5 kB / 0.5531 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002664/0.4202, allocations: 101.6 kB / 0.5532 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.4202, allocations: 1.219 kB / 0.5532 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4203, allocations: 4 kB / 0.5532 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4203, allocations: 6.344 kB / 0.5532 GB, free: 9.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001629/0.4204, allocations: 47.16 kB / 0.5532 GB, free: 9.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006499/0.4211, allocations: 484.9 kB / 0.5537 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003758/0.4215, allocations: 90.06 kB / 0.5538 GB, free: 9.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.4216, allocations: 33.44 kB / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.4216, allocations: 1.125 kB / 0.5538 GB, free: 9.102 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002237/0.4218, allocations: 85.41 kB / 0.5539 GB, free: 9.027 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.342e-06/0.4218, allocations: 0 / 0.5539 GB, free: 9.027 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004687/0.4223, allocations: 147.4 kB / 0.554 GB, free: 8.941 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.873e-05/0.4224, allocations: 56.5 kB / 0.5541 GB, free: 8.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.4226, allocations: 190.8 kB / 0.5543 GB, free: 8.723 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4226, allocations: 30.94 kB / 0.5543 GB, free: 8.688 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001216/0.4228, allocations: 114.7 kB / 0.5544 GB, free: 8.578 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.462e-05/0.4228, allocations: 28.56 kB / 0.5544 GB, free: 8.555 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/0.4229, allocations: 30.36 kB / 0.5544 GB, free: 8.527 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.4231, allocations: 333.9 kB / 0.5548 GB, free: 8.195 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001116/0.4232, allocations: 24.45 kB / 0.5548 GB, free: 8.188 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.4233, allocations: 68.27 kB / 0.5549 GB, free: 8.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002234/0.4235, allocations: 97.86 kB / 0.5549 GB, free: 8.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.778e-06/0.4235, allocations: 5.062 kB / 0.555 GB, free: 8.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003122/0.4239, allocations: 138 kB / 0.5551 GB, free: 7.965 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4239, allocations: 9.578 kB / 0.5551 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.4239, allocations: 5.281 kB / 0.5551 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4239, allocations: 2.281 kB / 0.5551 GB, free: 7.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000118/0.424, allocations: 21.34 kB / 0.5551 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.424, allocations: 6.266 kB / 0.5551 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.918e-05/0.4241, allocations: 16.73 kB / 0.5551 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.4241, allocations: 4.594 kB / 0.5551 GB, free: 7.938 MB / 398.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.0001433/0.4243, allocations: 134.5 kB / 0.5553 GB, free: 7.805 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.4243, allocations: 14.53 kB / 0.5553 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.4246, allocations: 129.1 kB / 0.5554 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.4246, allocations: 5.125 kB / 0.5554 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.4247, allocations: 4 kB / 0.5554 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.4247, allocations: 1.094 kB / 0.5554 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.4249, allocations: 180.8 kB / 0.5556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.4249, allocations: 0 / 0.5556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.914e-05/0.4249, allocations: 9.625 kB / 0.5556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4249, allocations: 1.062 kB / 0.5556 GB, free: 7.508 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.425, allocations: 4.984 kB / 0.5556 GB, free: 7.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.425, allocations: 9.031 kB / 0.5556 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.425, allocations: 0 / 0.5556 GB, free: 7.496 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004129/0.4254, allocations: 176.7 kB / 0.5558 GB, free: 7.375 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.4254, allocations: 15.97 kB / 0.5558 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.936e-05/0.4254, allocations: 5.25 kB / 0.5558 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.671e-05/0.4255, allocations: 12.52 kB / 0.5558 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.468e-05/0.4256, allocations: 14.55 kB / 0.5558 GB, free: 7.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.153e-05/0.4256, allocations: 7.219 kB / 0.5558 GB, free: 7.336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001548/0.4257, allocations: 143.9 kB / 0.556 GB, free: 7.23 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4257, allocations: 3.938 kB / 0.556 GB, free: 7.227 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002448/0.426, allocations: 23.84 kB / 0.556 GB, free: 7.223 MB / 398.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.001527/0.4275, allocations: 408.6 kB / 0.5564 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002951/0.4278, allocations: 81.27 kB / 0.5565 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4278, allocations: 192 / 0.5565 GB, free: 6.988 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.4279, allocations: 39.67 kB / 0.5565 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.4283, allocations: 40.56 kB / 0.5565 GB, free: 6.949 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006129/0.4289, allocations: 253.1 kB / 0.5568 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.4292, allocations: 0.7183 MB / 0.5575 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.982e-05/0.4293, allocations: 15.45 kB / 0.5575 GB, free: 6.027 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.778e-05/0.4293, allocations: 23.83 kB / 0.5575 GB, free: 6.012 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4293, allocations: 0 / 0.5575 GB, free: 6.012 MB / 398.1 MB Notification: Performance of Templates: time 0.005884/0.4352, allocations: 1.956 MB / 0.5594 GB, free: 4.414 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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: 5.486119729466736]