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.0014/0.0014, allocations: 107.1 kB / 19.8 MB, free: 2.5 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.001518/0.001518, allocations: 189.2 kB / 22.97 MB, free: 5.59 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.45/1.45, allocations: 225.6 MB / 251.6 MB, free: 13.33 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.2559/0.2559, allocations: 44.92 MB / 351.6 MB, free: 12.23 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.001988/0.001988, allocations: 67.89 kB / 495.3 MB, free: 1.805 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.3825, allocations: 64.26 MB / 0.5465 GB, free: 13.21 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003959/0.3865, allocations: 1.936 MB / 0.5483 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3884, allocations: 0.9399 MB / 0.5493 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001211/0.3885, allocations: 5.062 kB / 0.5493 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003664/0.3889, allocations: 41.52 kB / 0.5493 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002859/0.3892, allocations: 57.09 kB / 0.5494 GB, free: 10.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004143/0.3896, allocations: 133.9 kB / 0.5495 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.3899, allocations: 134.5 kB / 0.5496 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.39, allocations: 33.16 kB / 0.5496 GB, free: 10.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3901, allocations: 57.06 kB / 0.5497 GB, free: 10.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.3902, allocations: 53.42 kB / 0.5498 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.3902, allocations: 10.5 kB / 0.5498 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.3903, allocations: 46.45 kB / 0.5498 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.642e-05/0.3904, allocations: 22.86 kB / 0.5498 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.239e-05/0.3905, allocations: 54.73 kB / 0.5499 GB, free: 10.53 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000287/0.3908, allocations: 150.3 kB / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3908, allocations: 0 / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3908, allocations: 0 / 0.55 GB, free: 10.43 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.3908, allocations: 5.062 kB / 0.55 GB, free: 10.43 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.0008323/0.3916, allocations: 479.9 kB / 0.5505 GB, free: 9.949 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.3917, allocations: 9.625 kB / 0.5505 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.49e-05/0.3917, allocations: 15.72 kB / 0.5505 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.3921, allocations: 229.8 kB / 0.5507 GB, free: 9.699 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.3921, allocations: 11.38 kB / 0.5507 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.656e-05/0.3921, allocations: 7.812 kB / 0.5507 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002703/0.3924, allocations: 113.9 kB / 0.5509 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3924, allocations: 1.031 kB / 0.5509 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.3924, allocations: 1.281 kB / 0.5509 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.3924, allocations: 1.625 kB / 0.5509 GB, free: 9.594 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.3926, allocations: 50.09 kB / 0.5509 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007155/0.3933, allocations: 0.5077 MB / 0.5514 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.3937, allocations: 76.45 kB / 0.5515 GB, free: 9.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.3938, allocations: 49.94 kB / 0.5515 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.3938, allocations: 1.156 kB / 0.5515 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002234/0.394, allocations: 85.5 kB / 0.5516 GB, free: 8.895 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.322e-06/0.394, allocations: 0 / 0.5516 GB, free: 8.895 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004476/0.3945, allocations: 143.1 kB / 0.5517 GB, free: 8.812 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.3945, allocations: 56.44 kB / 0.5518 GB, free: 8.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.3947, allocations: 190.9 kB / 0.552 GB, free: 8.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.3948, allocations: 32.3 kB / 0.552 GB, free: 8.559 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.568e-05/0.3949, allocations: 118.1 kB / 0.5521 GB, free: 8.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.3949, allocations: 27.84 kB / 0.5522 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.107e-05/0.3949, allocations: 26.34 kB / 0.5522 GB, free: 8.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3951, allocations: 331.3 kB / 0.5525 GB, free: 8.07 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.754e-05/0.3952, allocations: 27.3 kB / 0.5525 GB, free: 8.059 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001159/0.3953, allocations: 68.95 kB / 0.5526 GB, free: 7.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.3955, allocations: 94.31 kB / 0.5527 GB, free: 7.926 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3955, allocations: 3.938 kB / 0.5527 GB, free: 7.922 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003227/0.3959, allocations: 141.2 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.3959, allocations: 5.562 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3959, allocations: 2 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.3959, allocations: 1.156 kB / 0.5528 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.396, allocations: 26.89 kB / 0.5528 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.396, allocations: 2.125 kB / 0.5528 GB, free: 7.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.229e-05/0.3961, allocations: 21.16 kB / 0.5529 GB, free: 7.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.3961, allocations: 4 kB / 0.5529 GB, free: 7.812 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.0001266/0.3962, allocations: 129.6 kB / 0.553 GB, free: 7.688 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.3962, allocations: 14.69 kB / 0.553 GB, free: 7.68 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003033/0.3965, allocations: 125.3 kB / 0.5531 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.3965, allocations: 5.125 kB / 0.5531 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.3965, allocations: 0 / 0.5531 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3966, allocations: 5.25 kB / 0.5531 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.3968, allocations: 209.6 kB / 0.5533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3968, allocations: 192 / 0.5533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.088e-05/0.3968, allocations: 9.75 kB / 0.5533 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3968, allocations: 5.031 kB / 0.5534 GB, free: 7.355 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.3969, allocations: 5.094 kB / 0.5534 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.139e-06/0.3969, allocations: 3.938 kB / 0.5534 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3969, allocations: 1.25 kB / 0.5534 GB, free: 7.348 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003992/0.3973, allocations: 185.1 kB / 0.5535 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.087e-05/0.3973, allocations: 88.64 kB / 0.5536 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3974, allocations: 1.219 kB / 0.5536 GB, free: 7.117 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.913e-05/0.3974, allocations: 15.39 kB / 0.5536 GB, free: 7.105 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.763e-05/0.3975, allocations: 7.469 kB / 0.5536 GB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.3975, allocations: 11.27 kB / 0.5537 GB, free: 7.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001351/0.3976, allocations: 134.9 kB / 0.5538 GB, free: 6.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3976, allocations: 0 / 0.5538 GB, free: 6.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3979, allocations: 36.77 kB / 0.5538 GB, free: 6.98 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.001541/0.3994, allocations: 409.2 kB / 0.5542 GB, free: 6.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002803/0.3997, allocations: 72.75 kB / 0.5543 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3997, allocations: 0 / 0.5543 GB, free: 6.754 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3998, allocations: 40.41 kB / 0.5543 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003573/0.4002, allocations: 44.05 kB / 0.5544 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006884/0.4009, allocations: 274.2 kB / 0.5546 GB, free: 6.508 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.4013, allocations: 0.7146 MB / 0.5553 GB, free: 5.793 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.234e-05/0.4014, allocations: 26.5 kB / 0.5553 GB, free: 5.777 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.336e-05/0.4014, allocations: 17.16 kB / 0.5554 GB, free: 5.77 MB / 398.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4014, allocations: 0 / 0.5554 GB, free: 5.77 MB / 398.1 MB Notification: Performance of Templates: time 0.005844/0.4072, allocations: 1.922 MB / 0.5572 GB, free: 4.5 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.248760743997991]