Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001046/0.001046, allocations: 113.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001029/0.001029, allocations: 185 kB / 18.72 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1991/0.1991, allocations: 44.18 MB / 336.7 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 55.91 kB / 470.6 MB, free: 13.09 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3174/0.3187, allocations: 60.81 MB / 0.519 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003165/0.3219, allocations: 1.929 MB / 0.5208 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3234, allocations: 0.9123 MB / 0.5217 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.3235, allocations: 9.438 kB / 0.5217 GB, free: 1.637 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.3239, allocations: 42.48 kB / 0.5218 GB, free: 1.613 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.3242, allocations: 58.45 kB / 0.5218 GB, free: 1.578 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003318/0.3245, allocations: 125.9 kB / 0.522 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.3247, allocations: 139.1 kB / 0.5221 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.3249, allocations: 28.95 kB / 0.5221 GB, free: 1.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.985e-05/0.325, allocations: 56.2 kB / 0.5222 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.3251, allocations: 57.53 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.658e-05/0.3251, allocations: 6.625 kB / 0.5222 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.3253, allocations: 40.94 kB / 0.5223 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.06e-05/0.3253, allocations: 23.03 kB / 0.5223 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.378e-05/0.3254, allocations: 54.38 kB / 0.5223 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.3257, allocations: 150.3 kB / 0.5225 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3257, allocations: 0 / 0.5225 GB, free: 1.254 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3257, allocations: 5.094 kB / 0.5225 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3258, allocations: 0 / 0.5225 GB, free: 1.25 MB / 382.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.0006174/0.3264, allocations: 481.4 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.3264, allocations: 9.156 kB / 0.523 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.57e-05/0.3265, allocations: 20.41 kB / 0.523 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.3268, allocations: 233.8 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.3268, allocations: 3.5 kB / 0.5232 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.3268, allocations: 25.11 kB / 0.5232 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.327, allocations: 101 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.3271, allocations: 1.281 kB / 0.5233 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3271, allocations: 6.047 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.3271, allocations: 0.9688 kB / 0.5233 GB, free: 464 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.3272, allocations: 47.06 kB / 0.5234 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.3278, allocations: 0.5082 MB / 0.5239 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.3281, allocations: 82.86 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.74e-05/0.3282, allocations: 41.98 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.502e-05/0.3282, allocations: 1.406 kB / 0.524 GB, free: 15.9 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002085/0.3284, allocations: 85.41 kB / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.3285, allocations: 0 / 0.5241 GB, free: 15.84 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004249/0.3289, allocations: 143.1 kB / 0.5242 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.329, allocations: 61.16 kB / 0.5243 GB, free: 15.7 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.3292, allocations: 188.5 kB / 0.5245 GB, free: 15.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.3292, allocations: 25.7 kB / 0.5245 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/0.3293, allocations: 117 kB / 0.5246 GB, free: 15.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.3293, allocations: 33.66 kB / 0.5246 GB, free: 15.4 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.3294, allocations: 29.75 kB / 0.5246 GB, free: 15.38 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3295, allocations: 323.1 kB / 0.525 GB, free: 15.06 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.047e-05/0.3296, allocations: 32.23 kB / 0.525 GB, free: 15.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.3297, allocations: 58.72 kB / 0.525 GB, free: 15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002008/0.3299, allocations: 108.6 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.33, allocations: 1.344 kB / 0.5251 GB, free: 14.93 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000256/0.3302, allocations: 132.3 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3302, allocations: 8.812 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.3302, allocations: 1.469 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.3303, allocations: 2.906 kB / 0.5253 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.824e-05/0.3304, allocations: 33.16 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.3304, allocations: 2.609 kB / 0.5253 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.569e-05/0.3305, allocations: 14.67 kB / 0.5253 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.004e-05/0.3305, allocations: 8.312 kB / 0.5253 GB, free: 14.84 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.0001016/0.3306, allocations: 128.4 kB / 0.5255 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.461e-05/0.3306, allocations: 15.09 kB / 0.5255 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.24e-05/0.3307, allocations: 19.27 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.346e-06/0.3307, allocations: 5.75 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3307, allocations: 0.5156 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3307, allocations: 4.609 kB / 0.5255 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.3309, allocations: 207.2 kB / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.3309, allocations: 0 / 0.5257 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.115e-05/0.331, allocations: 14.86 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.331, allocations: 1.344 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/0.331, allocations: 1.922 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.331, allocations: 5.344 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.331, allocations: 0.6094 kB / 0.5257 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003452/0.3314, allocations: 182.4 kB / 0.5259 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.3314, allocations: 93.17 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3315, allocations: 2.031 kB / 0.526 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.3315, allocations: 14.08 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.3316, allocations: 5.656 kB / 0.526 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/0.3316, allocations: 8.766 kB / 0.526 GB, free: 14.23 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3317, allocations: 137 kB / 0.5262 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3317, allocations: 1.438 kB / 0.5262 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002187/0.3319, allocations: 32.5 kB / 0.5262 GB, free: 14.13 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.nextTimeEventScaled,t_new.nextTimeEvent) * 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.0008479/0.3328, allocations: 416.1 kB / 0.5266 GB, free: 13.93 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002369/0.333, allocations: 87.02 kB / 0.5267 GB, free: 13.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.333, allocations: 3.938 kB / 0.5267 GB, free: 13.9 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.3331, allocations: 34.98 kB / 0.5267 GB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.3334, allocations: 41.25 kB / 0.5267 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.3339, allocations: 251.9 kB / 0.527 GB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3342, allocations: 0.7182 MB / 0.5277 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.96e-05/0.3343, allocations: 23.77 kB / 0.5277 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.3343, allocations: 17.72 kB / 0.5277 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3343, allocations: 0 / 0.5277 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.004492/0.3388, allocations: 1.899 MB / 0.5296 GB, free: 12.2 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches