Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001201/0.001201, allocations: 117.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001422/0.001422, allocations: 206.7 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 46.1 MB / 345 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 79.86 kB / 482.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3078, allocations: 62.43 MB / 0.5318 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.003422/0.3113, allocations: 1.751 MB / 0.5335 GB, free: 12.22 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001651/0.3129, allocations: 1.031 MB / 0.5345 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.313, allocations: 3.938 kB / 0.5345 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003003/0.3133, allocations: 87.39 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.3137, allocations: 111.4 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000189/0.3139, allocations: 84.28 kB / 0.5347 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001781/0.3141, allocations: 118.6 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.3142, allocations: 20.19 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3143, allocations: 53.77 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.964e-05/0.3144, allocations: 56.64 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.3144, allocations: 4.125 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.3146, allocations: 66.45 kB / 0.5351 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.3146, allocations: 28.11 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.375e-05/0.3147, allocations: 33.38 kB / 0.5351 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000227/0.3149, allocations: 138.7 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3149, allocations: 4 kB / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3149, allocations: 0 / 0.5352 GB, free: 10.94 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.315, allocations: 0 / 0.5352 GB, free: 10.94 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005131/0.3155, allocations: 449.2 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.3155, allocations: 16.44 kB / 0.5357 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.3156, allocations: 15.22 kB / 0.5357 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002764/0.3159, allocations: 213.3 kB / 0.5359 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3159, allocations: 6.938 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3159, allocations: 6.406 kB / 0.5359 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.3161, allocations: 60.02 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.3161, allocations: 5.391 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.3161, allocations: 0 / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.3161, allocations: 1.188 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.067e-05/0.3162, allocations: 24.23 kB / 0.536 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003666/0.3166, allocations: 308.5 kB / 0.5363 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/0.3168, allocations: 57.38 kB / 0.5364 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.545e-05/0.3169, allocations: 23.25 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.345e-05/0.3169, allocations: 9.344 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001316/0.317, allocations: 61.95 kB / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.317, allocations: 0 / 0.5364 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007445/0.3178, allocations: 259.9 kB / 0.5367 GB, free: 9.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3178, allocations: 52.47 kB / 0.5367 GB, free: 9.508 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3181, allocations: 229.8 kB / 0.537 GB, free: 9.34 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.3181, allocations: 30.8 kB / 0.537 GB, free: 9.305 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.294e-05/0.3182, allocations: 106.4 kB / 0.5371 GB, free: 9.203 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.3182, allocations: 36.83 kB / 0.5371 GB, free: 9.172 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.3183, allocations: 25.81 kB / 0.5372 GB, free: 9.148 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3184, allocations: 323.4 kB / 0.5375 GB, free: 8.828 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.3185, allocations: 34.67 kB / 0.5375 GB, free: 8.809 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.774e-05/0.3185, allocations: 44.7 kB / 0.5375 GB, free: 8.777 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.3187, allocations: 80.52 kB / 0.5376 GB, free: 8.727 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3187, allocations: 4 kB / 0.5376 GB, free: 8.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002116/0.3189, allocations: 125.7 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3189, allocations: 6.562 kB / 0.5377 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3189, allocations: 4.031 kB / 0.5378 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.319, allocations: 0.7812 kB / 0.5378 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.168e-05/0.3191, allocations: 25.27 kB / 0.5378 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.3191, allocations: 5 kB / 0.5378 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.3191, allocations: 6.125 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.867e-06/0.3191, allocations: 4.531 kB / 0.5378 GB, free: 8.629 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001097/0.3192, allocations: 132.6 kB / 0.5379 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.3193, allocations: 14.97 kB / 0.5379 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.252e-05/0.3193, allocations: 24.86 kB / 0.538 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.3193, allocations: 4 kB / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3194, allocations: 0 / 0.538 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.3194, allocations: 93.08 kB / 0.538 GB, free: 8.359 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.3194, allocations: 5.312 kB / 0.5381 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.227e-05/0.3195, allocations: 5.359 kB / 0.5381 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.428e-05/0.3195, allocations: 7.688 kB / 0.5381 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002417/0.3198, allocations: 194.7 kB / 0.5383 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002727/0.3201, allocations: 311.4 kB / 0.5385 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.58e-05/0.3201, allocations: 42.75 kB / 0.5386 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00013/0.3203, allocations: 161.2 kB / 0.5387 GB, free: 7.809 MB / 398.1 MB Notification: Performance of Backend: time 3.6e-07/0.3203, allocations: 0 / 0.5387 GB, free: 7.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001428/0.3217, allocations: 0.5412 MB / 0.5393 GB, free: 7.551 MB / 398.1 MB Notification: Performance of SimCode: time 0.0006506/0.3224, allocations: 0.6997 MB / 0.54 GB, free: 6.883 MB / 398.1 MB Notification: Performance of Templates: time 0.005161/0.3276, allocations: 2.094 MB / 0.542 GB, free: 5.828 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches