Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001152/0.001152, allocations: 79.59 kB / 21.18 MB, free: 3.387 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 161 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.102/1.102, allocations: 177.1 MB / 205 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2725/0.2725, allocations: 34.26 MB / 295.7 MB, free: 0.7656 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.306e-06/3.306e-06, allocations: 4 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.199e-05/3.53e-05, allocations: 5.688 kB / 378.1 MB, free: 2.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002894/0.002929, allocations: 1.962 MB / 380.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.004287, allocations: 1.048 MB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.004396, allocations: 3.938 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.004719, allocations: 43.66 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.00505, allocations: 107.4 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002223/0.005272, allocations: 99.58 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002198/0.005492, allocations: 147.5 kB / 381.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.005619, allocations: 21.8 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.005723, allocations: 79.73 kB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.00583, allocations: 43.83 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.005851, allocations: 4 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.06e-05/0.005941, allocations: 47.92 kB / 381.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.006001, allocations: 23.92 kB / 381.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.006056, allocations: 35.84 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002221/0.006278, allocations: 131.5 kB / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.00628, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.006281, allocations: 0 / 381.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.992e-06/0.006287, allocations: 3.938 kB / 381.9 MB, free: 14.77 MB / 362.7 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.0005503/0.006838, allocations: 0.4936 MB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.00688, allocations: 8.031 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.006943, allocations: 24.8 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.007157, allocations: 177.1 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.007176, allocations: 12.38 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.007203, allocations: 8.312 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.007399, allocations: 139.7 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007408, allocations: 3.938 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.007418, allocations: 4 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.007427, allocations: 0 / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.763e-05/0.007484, allocations: 31.92 kB / 382.8 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/0.007983, allocations: 0.5795 MB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002111/0.008194, allocations: 79.09 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.971e-05/0.008234, allocations: 23.69 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/0.00825, allocations: 0 / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001395/0.008389, allocations: 110.6 kB / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.072e-06/0.008391, allocations: 0 / 383.6 MB, free: 12.9 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.000227/0.008618, allocations: 109.5 kB / 383.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001771/0.008795, allocations: 59.39 kB / 383.7 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001451/0.00894, allocations: 247.1 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.008954, allocations: 25.7 kB / 384 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.009027, allocations: 170.8 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.009048, allocations: 31.73 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.95e-05/0.009088, allocations: 35.36 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.009204, allocations: 0.5 MB / 384.7 MB, free: 11.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.966e-05/0.009233, allocations: 12 kB / 384.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.953e-05/0.009283, allocations: 62.41 kB / 384.8 MB, free: 11.58 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.389e-05/0.009367, allocations: 82.38 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009369, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001372/0.009506, allocations: 121.4 kB / 385 MB, free: 11.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.009521, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.009526, allocations: 0 / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.00955, allocations: 4 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.337e-05/0.009623, allocations: 23.98 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.00963, allocations: 4 kB / 385.1 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.009665, allocations: 7.938 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.009677, allocations: 4.125 kB / 385.1 MB, free: 11.3 MB / 362.7 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 8.059e-05/0.009757, allocations: 176.4 kB / 385.2 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.009776, allocations: 23.84 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001524/0.009929, allocations: 107.1 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.009931, allocations: 0 / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.009934, allocations: 0 / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.009938, allocations: 0 / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.01006, allocations: 168.5 kB / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01006, allocations: 0 / 385.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.575e-05/0.01011, allocations: 8 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.01012, allocations: 4 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.01013, allocations: 7.984 kB / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.01013, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01013, allocations: 0 / 385.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.01032, allocations: 160.8 kB / 385.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.01034, allocations: 19.83 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.843e-05/0.01036, allocations: 4 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.837e-05/0.01039, allocations: 0 / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.837e-05/0.01044, allocations: 15.92 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-05/0.01046, allocations: 4 kB / 385.8 MB, free: 10.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.402e-05/0.01055, allocations: 175.1 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01055, allocations: 4.031 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001735/0.01072, allocations: 24 kB / 385.9 MB, free: 10.35 MB / 362.7 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 (10): * Single equations (assignments): 8 * 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.0009331/0.01165, allocations: 381.9 kB / 386.3 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000178/0.01183, allocations: 67.47 kB / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.01183, allocations: 0 / 386.4 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.01188, allocations: 39.61 kB / 386.4 MB, free: 9.996 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.01212, allocations: 50.31 kB / 386.5 MB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.01256, allocations: 250 kB / 386.7 MB, free: 9.684 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.211e-05/0.01261, allocations: 71.83 kB / 386.8 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.969e-05/0.01266, allocations: 21.67 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.872e-05/0.0127, allocations: 20.5 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.0127, allocations: 3.938 kB / 386.8 MB, free: 9.543 MB / 362.7 MB Notification: Performance of Templates: time 0.004203/0.0169, allocations: 2.06 MB / 388.9 MB, free: 7.512 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.350138565991074]