Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001318/0.001318, allocations: 117.7 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001465, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2062/0.2062, allocations: 46.11 MB / 344.9 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 75.88 kB / 482.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2902, allocations: 62.43 MB / 0.5317 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002867/0.2931, allocations: 1.688 MB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2947, allocations: 0.9978 MB / 0.5343 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.2948, allocations: 1.375 kB / 0.5344 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002927/0.2951, allocations: 87.45 kB / 0.5344 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.2954, allocations: 123.4 kB / 0.5346 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.2956, allocations: 69.61 kB / 0.5346 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.2958, allocations: 109 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.204e-05/0.2958, allocations: 9.719 kB / 0.5347 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001381/0.296, allocations: 53.72 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.2961, allocations: 49.95 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.2961, allocations: 6.75 kB / 0.5348 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.566e-05/0.2962, allocations: 32.61 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.247e-05/0.2963, allocations: 24.16 kB / 0.5349 GB, free: 11.13 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.574e-05/0.2963, allocations: 35.94 kB / 0.5349 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.2965, allocations: 111.4 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2965, allocations: 0 / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.2965, allocations: 1.375 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.2965, allocations: 3.938 kB / 0.535 GB, free: 11.04 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005268/0.297, allocations: 411.5 kB / 0.5354 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.2971, allocations: 12.66 kB / 0.5354 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.2971, allocations: 18.92 kB / 0.5355 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.2974, allocations: 219.8 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.2974, allocations: 1.531 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.2974, allocations: 6.562 kB / 0.5357 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001266/0.2976, allocations: 46.48 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.723e-06/0.2976, allocations: 1 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.846e-06/0.2976, allocations: 0 / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2976, allocations: 1 kB / 0.5357 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.342e-05/0.2977, allocations: 23.77 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002161/0.2979, allocations: 189.2 kB / 0.5359 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/0.2981, allocations: 51.02 kB / 0.536 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.211e-05/0.2981, allocations: 21.17 kB / 0.536 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.2981, allocations: 5.047 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001405/0.2983, allocations: 75.95 kB / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.273e-06/0.2983, allocations: 0 / 0.5361 GB, free: 9.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002746/0.2986, allocations: 92.33 kB / 0.5362 GB, free: 9.891 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.137e-05/0.2986, allocations: 52.53 kB / 0.5362 GB, free: 9.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.2989, allocations: 220.8 kB / 0.5364 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2989, allocations: 30.8 kB / 0.5364 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.04e-05/0.2989, allocations: 101.7 kB / 0.5365 GB, free: 9.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.299, allocations: 26.14 kB / 0.5366 GB, free: 9.512 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.2991, allocations: 19.06 kB / 0.5366 GB, free: 9.492 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2992, allocations: 323.3 kB / 0.5369 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.893e-05/0.2993, allocations: 14.98 kB / 0.5369 GB, free: 9.164 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.2993, allocations: 27.44 kB / 0.5369 GB, free: 9.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.49e-05/0.2994, allocations: 43.48 kB / 0.537 GB, free: 9.109 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2994, allocations: 5.094 kB / 0.537 GB, free: 9.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001862/0.2996, allocations: 83.34 kB / 0.5371 GB, free: 9.047 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.2996, allocations: 8.953 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.2997, allocations: 1.125 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.2997, allocations: 1.125 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.083e-05/0.2997, allocations: 13.38 kB / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.2998, allocations: 160 / 0.5371 GB, free: 9.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.2998, allocations: 7.156 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.2998, allocations: 5.141 kB / 0.5371 GB, free: 9.031 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 (7): * Single equations (assignments): 7 * 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.875e-05/0.2999, allocations: 139.4 kB / 0.5372 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.176e-05/0.3, allocations: 9.594 kB / 0.5372 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.3, allocations: 18.55 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3, allocations: 0 / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3, allocations: 1.094 kB / 0.5373 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.3, allocations: 3.938 kB / 0.5373 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.3002, allocations: 199.8 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3002, allocations: 0 / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.081e-05/0.3002, allocations: 3.719 kB / 0.5375 GB, free: 8.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3002, allocations: 4 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.3002, allocations: 1.188 kB / 0.5375 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-06/0.3002, allocations: 4.938 kB / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3002, allocations: 0 / 0.5375 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/0.3005, allocations: 114.5 kB / 0.5376 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.034e-05/0.3005, allocations: 88.42 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3005, allocations: 1.469 kB / 0.5377 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.751e-05/0.3006, allocations: 4.891 kB / 0.5377 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.872e-05/0.3006, allocations: 6.188 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.3006, allocations: 2.094 kB / 0.5377 GB, free: 8.434 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3008, allocations: 168.6 kB / 0.5378 GB, free: 8.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.493e-06/0.3008, allocations: 0 / 0.5378 GB, free: 8.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002119/0.301, allocations: 22.09 kB / 0.5379 GB, free: 8.312 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: 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 (5): * Single equations (assignments): 3 * 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.0008898/0.3019, allocations: 405.9 kB / 0.5382 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001834/0.3021, allocations: 36.05 kB / 0.5383 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3021, allocations: 4.062 kB / 0.5383 GB, free: 8.082 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.819e-05/0.3022, allocations: 27.64 kB / 0.5383 GB, free: 8.066 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002538/0.3024, allocations: 32.95 kB / 0.5383 GB, free: 8.047 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003837/0.3028, allocations: 249.2 kB / 0.5386 GB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/0.3031, allocations: 0.7105 MB / 0.5393 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.3031, allocations: 14 kB / 0.5393 GB, free: 7.121 MB / 398.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3031, allocations: 4 kB / 0.5393 GB, free: 7.117 MB / 398.1 MB Notification: Performance of Templates: time 0.003261/0.3064, allocations: 1.78 MB / 0.541 GB, free: 6.199 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches