Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001208/0.001208, allocations: 112.7 kB / 18.45 MB, free: 4.645 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.001158/0.001158, allocations: 185.2 kB / 19.38 MB, free: 3.723 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.222/1.222, allocations: 222.9 MB / 243.1 MB, free: 15.15 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.1855/0.1855, allocations: 44.18 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.84 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3074/0.3086, allocations: 60.82 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.002589/0.3113, allocations: 1.564 MB / 0.5211 GB, free: 2.527 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006518/0.3119, allocations: 397.6 kB / 0.5215 GB, free: 2.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.762e-05/0.312, allocations: 4 kB / 0.5215 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001986/0.3122, allocations: 25.47 kB / 0.5215 GB, free: 2.254 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.3124, allocations: 37.25 kB / 0.5215 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.3126, allocations: 92.39 kB / 0.5216 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.3128, allocations: 53.91 kB / 0.5217 GB, free: 2.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3129, allocations: 16.59 kB / 0.5217 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.388e-05/0.3129, allocations: 22.41 kB / 0.5217 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.313, allocations: 23.61 kB / 0.5217 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.313, allocations: 2.531 kB / 0.5217 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.51e-05/0.3131, allocations: 30 kB / 0.5218 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.996e-05/0.3132, allocations: 15.61 kB / 0.5218 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.452e-05/0.3132, allocations: 24.98 kB / 0.5218 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001672/0.3134, allocations: 80.31 kB / 0.5219 GB, free: 2.055 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3134, allocations: 4.594 kB / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3134, allocations: 0 / 0.5219 GB, free: 2.051 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.3134, allocations: 4 kB / 0.5219 GB, free: 2.047 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003747/0.3138, allocations: 379.1 kB / 0.5223 GB, free: 1.668 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3138, allocations: 9.5 kB / 0.5223 GB, free: 1.668 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.759e-05/0.3139, allocations: 8.406 kB / 0.5223 GB, free: 1.664 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.314, allocations: 191.2 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.669e-06/0.314, allocations: 1.469 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.314, allocations: 2.719 kB / 0.5225 GB, free: 1.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.3142, allocations: 53.06 kB / 0.5225 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.3142, allocations: 7.906 kB / 0.5225 GB, free: 1.402 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3142, allocations: 4 kB / 0.5225 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3142, allocations: 1.031 kB / 0.5225 GB, free: 1.398 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.766e-05/0.3143, allocations: 23.16 kB / 0.5226 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002714/0.3146, allocations: 277.9 kB / 0.5228 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001817/0.3148, allocations: 40.2 kB / 0.5229 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.637e-05/0.3148, allocations: 21.94 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.3149, allocations: 1.797 kB / 0.5229 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.739e-05/0.3149, allocations: 35.72 kB / 0.5229 GB, free: 1.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3149, allocations: 0 / 0.5229 GB, free: 1.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004883/0.3154, allocations: 139.5 kB / 0.523 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.519e-05/0.3154, allocations: 56.59 kB / 0.5231 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.3156, allocations: 165.1 kB / 0.5233 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.3156, allocations: 25.7 kB / 0.5233 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.338e-05/0.3156, allocations: 98.28 kB / 0.5234 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.3156, allocations: 11.56 kB / 0.5234 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.954e-05/0.3157, allocations: 19.33 kB / 0.5234 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.565e-05/0.3157, allocations: 324 kB / 0.5237 GB, free: 308 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.3158, allocations: 22.22 kB / 0.5237 GB, free: 300 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.096e-05/0.3159, allocations: 14.7 kB / 0.5237 GB, free: 300 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.316, allocations: 47.58 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.316, allocations: 0.5625 kB / 0.5238 GB, free: 280 kB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001494/0.3161, allocations: 80.11 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.3162, allocations: 6.625 kB / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.3162, allocations: 0 / 0.5239 GB, free: 232 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.3162, allocations: 5.375 kB / 0.5239 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.76e-05/0.3162, allocations: 15.5 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.3163, allocations: 1.375 kB / 0.5239 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.3163, allocations: 8.719 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.553e-06/0.3163, allocations: 1.5 kB / 0.5239 GB, free: 220 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 5.623e-05/0.3164, allocations: 127.1 kB / 0.524 GB, free: 92 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.3164, allocations: 10.59 kB / 0.524 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002023/0.3166, allocations: 103 kB / 0.5241 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.3166, allocations: 0.7969 kB / 0.5241 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3166, allocations: 1.344 kB / 0.5241 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.3166, allocations: 3.984 kB / 0.5241 GB, free: 8 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004194/0.3171, allocations: 343.4 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3171, allocations: 1.625 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.478e-05/0.3171, allocations: 11.17 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.3171, allocations: 5.062 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.3172, allocations: 5.859 kB / 0.5245 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3172, allocations: 3.938 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3172, allocations: 1.094 kB / 0.5245 GB, free: 15.67 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.3174, allocations: 173.2 kB / 0.5247 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.3174, allocations: 84.44 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3175, allocations: 4 kB / 0.5247 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.858e-05/0.3175, allocations: 13.39 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.3176, allocations: 3.281 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3176, allocations: 3.047 kB / 0.5248 GB, free: 15.42 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.262e-05/0.3177, allocations: 126.2 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3177, allocations: 0 / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002326/0.3179, allocations: 14.84 kB / 0.5249 GB, free: 15.33 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008619/0.3188, allocations: 407.4 kB / 0.5253 GB, free: 15.13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.319, allocations: 51.52 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.319, allocations: 1.344 kB / 0.5253 GB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.963e-05/0.3191, allocations: 22.67 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.3194, allocations: 14.52 kB / 0.5254 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.3198, allocations: 217.4 kB / 0.5256 GB, free: 14.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002305/0.32, allocations: 0.7017 MB / 0.5263 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.993e-05/0.3201, allocations: 11.64 kB / 0.5263 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3201, allocations: 0 / 0.5263 GB, free: 14.21 MB / 398.1 MB Notification: Performance of Templates: time 0.002984/0.323, allocations: 1.418 MB / 0.5277 GB, free: 13.92 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches