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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001742/0.001742, allocations: 110.2 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002218/0.002218, allocations: 216.6 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.616/1.616, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.226/0.226, allocations: 46.88 MB / 359.9 MB, free: 5.004 MB / 286.1 MB [Timeout remaining time 90] 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.002297/0.002297, allocations: 79.86 kB / 0.495 GB, free: 8.645 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3089, allocations: 65.99 MB / 0.5595 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003453/0.3123, allocations: 1.94 MB / 0.5614 GB, free: 3.234 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.3141, allocations: 1.065 MB / 0.5624 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.557e-05/0.3142, allocations: 8 kB / 0.5624 GB, free: 2.156 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002961/0.3145, allocations: 47.64 kB / 0.5625 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003104/0.3148, allocations: 99.53 kB / 0.5625 GB, free: 2.012 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.315, allocations: 95.64 kB / 0.5626 GB, free: 1.918 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.3153, allocations: 143.5 kB / 0.5628 GB, free: 1.777 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001225/0.3154, allocations: 24.22 kB / 0.5628 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.3155, allocations: 63.7 kB / 0.5629 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.3156, allocations: 55.64 kB / 0.5629 GB, free: 1.637 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.3156, allocations: 8 kB / 0.5629 GB, free: 1.629 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.3157, allocations: 51.98 kB / 0.563 GB, free: 1.578 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.391e-05/0.3158, allocations: 23.91 kB / 0.563 GB, free: 1.555 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.099e-05/0.3159, allocations: 51.61 kB / 0.563 GB, free: 1.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002656/0.3161, allocations: 159 kB / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3161, allocations: 0 / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3161, allocations: 0 / 0.5632 GB, free: 1.352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3161, allocations: 0 / 0.5632 GB, free: 1.352 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.0007036/0.3168, allocations: 488.1 kB / 0.5637 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3169, allocations: 8.031 kB / 0.5637 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.257e-05/0.3169, allocations: 20.84 kB / 0.5637 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003342/0.3173, allocations: 237.7 kB / 0.5639 GB, free: 0.5195 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.3173, allocations: 8.375 kB / 0.5639 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.002e-05/0.3173, allocations: 8.125 kB / 0.5639 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.3176, allocations: 111.4 kB / 0.564 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3176, allocations: 4 kB / 0.564 GB, free: 388 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.462e-05/0.3176, allocations: 11.94 kB / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3176, allocations: 0 / 0.5641 GB, free: 376 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.3178, allocations: 55.53 kB / 0.5641 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006099/0.3184, allocations: 0.501 MB / 0.5646 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.3187, allocations: 78.67 kB / 0.5647 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.744e-05/0.3188, allocations: 44.75 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.3188, allocations: 4 kB / 0.5647 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001945/0.319, allocations: 87.31 kB / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.423e-06/0.319, allocations: 0 / 0.5648 GB, free: 15.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003949/0.3194, allocations: 145.5 kB / 0.5649 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3194, allocations: 55.34 kB / 0.565 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.3196, allocations: 203.1 kB / 0.5652 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.3197, allocations: 25.7 kB / 0.5652 GB, free: 15.07 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.946e-05/0.3198, allocations: 120 kB / 0.5653 GB, free: 14.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.3198, allocations: 35.72 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.978e-05/0.3198, allocations: 29.72 kB / 0.5654 GB, free: 14.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.32, allocations: 326.8 kB / 0.5657 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.251e-05/0.3201, allocations: 31.97 kB / 0.5657 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.3202, allocations: 60.28 kB / 0.5658 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3204, allocations: 104.5 kB / 0.5659 GB, free: 14.33 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3204, allocations: 0 / 0.5659 GB, free: 14.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002947/0.3207, allocations: 141.5 kB / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3207, allocations: 8 kB / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3207, allocations: 0 / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3207, allocations: 0 / 0.566 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3208, allocations: 27.92 kB / 0.5661 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3208, allocations: 3.984 kB / 0.5661 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.3209, allocations: 15.95 kB / 0.5661 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.3209, allocations: 4 kB / 0.5661 GB, free: 14.12 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.0001122/0.321, allocations: 129.8 kB / 0.5662 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.3211, allocations: 19.94 kB / 0.5662 GB, free: 13.97 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/0.3214, allocations: 123 kB / 0.5663 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.3214, allocations: 7.938 kB / 0.5663 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3214, allocations: 0 / 0.5663 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.3214, allocations: 0 / 0.5663 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.3216, allocations: 209.5 kB / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3216, allocations: 0 / 0.5665 GB, free: 13.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.091e-05/0.3217, allocations: 15.98 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3217, allocations: 0 / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.3217, allocations: 4 kB / 0.5666 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.3217, allocations: 3.938 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3217, allocations: 3.938 kB / 0.5666 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003779/0.3221, allocations: 185.2 kB / 0.5667 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.3221, allocations: 93.05 kB / 0.5668 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.3221, allocations: 4 kB / 0.5668 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.3222, allocations: 19.92 kB / 0.5669 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.3223, allocations: 7.938 kB / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.3223, allocations: 4 kB / 0.5669 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001316/0.3224, allocations: 148.4 kB / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3224, allocations: 0 / 0.567 GB, free: 13.06 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002368/0.3226, allocations: 31.92 kB / 0.567 GB, free: 13.03 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.00144/0.3241, allocations: 393.4 kB / 0.5674 GB, free: 12.78 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3243, allocations: 75.91 kB / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3243, allocations: 0 / 0.5675 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001022/0.3244, allocations: 35.91 kB / 0.5675 GB, free: 12.67 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.3247, allocations: 47.45 kB / 0.5676 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005553/0.3253, allocations: 301.1 kB / 0.5679 GB, free: 12.3 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.3256, allocations: 0.7204 MB / 0.5686 GB, free: 11.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3257, allocations: 19.44 kB / 0.5686 GB, free: 11.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3257, allocations: 3.938 kB / 0.5686 GB, free: 11.53 MB / 414.1 MB Notification: Performance of Templates: time 0.004399/0.3301, allocations: 2.218 MB / 0.5707 GB, free: 9.32 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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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