Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001446/0.001446, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1854/0.1854, allocations: 46.09 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 79.88 kB / 481.4 MB, free: 4.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3037, allocations: 62.44 MB / 0.5311 GB, free: 13.83 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002812/0.3065, allocations: 1.692 MB / 0.5327 GB, free: 12.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3081, allocations: 0.9943 MB / 0.5337 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.99e-05/0.3082, allocations: 0 / 0.5337 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.3085, allocations: 67.56 kB / 0.5338 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.3088, allocations: 105.6 kB / 0.5339 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.309, allocations: 73.94 kB / 0.5339 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001734/0.3092, allocations: 107.2 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.694e-05/0.3093, allocations: 9.438 kB / 0.534 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.76e-05/0.3093, allocations: 52.05 kB / 0.5341 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.083e-05/0.3094, allocations: 40.03 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.3095, allocations: 2.75 kB / 0.5341 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.791e-05/0.3095, allocations: 32.59 kB / 0.5342 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.023e-05/0.3096, allocations: 18.75 kB / 0.5342 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.018e-05/0.3097, allocations: 39.98 kB / 0.5342 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001697/0.3098, allocations: 102.7 kB / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3098, allocations: 0 / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3099, allocations: 0 / 0.5343 GB, free: 11.33 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.3099, allocations: 1.375 kB / 0.5343 GB, free: 11.33 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.0004955/0.3104, allocations: 414.3 kB / 0.5347 GB, free: 10.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.3104, allocations: 9.625 kB / 0.5347 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.3105, allocations: 14.28 kB / 0.5347 GB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.3107, allocations: 211.9 kB / 0.5349 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.386e-06/0.3107, allocations: 5.75 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.3107, allocations: 17.44 kB / 0.535 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000124/0.3109, allocations: 51.28 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.793e-06/0.3109, allocations: 0 / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.3109, allocations: 1.375 kB / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.466e-06/0.3109, allocations: 0 / 0.535 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.21e-05/0.311, allocations: 16.23 kB / 0.535 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.3112, allocations: 179.4 kB / 0.5352 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001494/0.3113, allocations: 59.11 kB / 0.5352 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.159e-05/0.3114, allocations: 21.05 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.3114, allocations: 1.375 kB / 0.5353 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/0.3115, allocations: 67.67 kB / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.653e-06/0.3115, allocations: 0 / 0.5353 GB, free: 10.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002574/0.3118, allocations: 99.34 kB / 0.5354 GB, free: 10.19 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3118, allocations: 56.5 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.312, allocations: 195.9 kB / 0.5357 GB, free: 9.977 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.312, allocations: 26.83 kB / 0.5357 GB, free: 9.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.3121, allocations: 96.67 kB / 0.5358 GB, free: 9.852 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.077e-05/0.3121, allocations: 26.89 kB / 0.5358 GB, free: 9.828 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.148e-05/0.3122, allocations: 18.12 kB / 0.5358 GB, free: 9.809 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.08e-05/0.3123, allocations: 322.1 kB / 0.5361 GB, free: 9.488 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.657e-05/0.3123, allocations: 20.61 kB / 0.5362 GB, free: 9.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.896e-05/0.3124, allocations: 23.28 kB / 0.5362 GB, free: 9.457 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.123e-05/0.3125, allocations: 42.98 kB / 0.5362 GB, free: 9.426 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3125, allocations: 1.25 kB / 0.5362 GB, free: 9.426 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001427/0.3126, allocations: 82.66 kB / 0.5363 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.3126, allocations: 5.156 kB / 0.5363 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.3126, allocations: 5.531 kB / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.3127, allocations: 0 / 0.5363 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.3127, allocations: 17.52 kB / 0.5363 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3128, allocations: 1.25 kB / 0.5363 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.232e-05/0.3128, allocations: 10 kB / 0.5363 GB, free: 9.348 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.3128, allocations: 2.625 kB / 0.5363 GB, free: 9.348 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 9.635e-05/0.3129, allocations: 126.7 kB / 0.5365 GB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.169e-05/0.3129, allocations: 12.19 kB / 0.5365 GB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.178e-05/0.313, allocations: 17.94 kB / 0.5365 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.313, allocations: 5.453 kB / 0.5365 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.313, allocations: 4 kB / 0.5365 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.313, allocations: 0 / 0.5365 GB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001602/0.3132, allocations: 185.9 kB / 0.5367 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3132, allocations: 3.938 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/0.3132, allocations: 2.844 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.462e-06/0.3132, allocations: 1.031 kB / 0.5367 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.3133, allocations: 4.922 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3133, allocations: 1.094 kB / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3133, allocations: 160 / 0.5367 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001743/0.3135, allocations: 117.2 kB / 0.5368 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.3135, allocations: 84.3 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.3135, allocations: 1.125 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.407e-05/0.3136, allocations: 1.188 kB / 0.5369 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.225e-05/0.3136, allocations: 10.7 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.3136, allocations: 2.562 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001151/0.3137, allocations: 147.4 kB / 0.537 GB, free: 8.656 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3137, allocations: 5.188 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.314, allocations: 20.59 kB / 0.5371 GB, free: 8.645 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.0008727/0.3149, allocations: 411.1 kB / 0.5375 GB, free: 8.422 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001466/0.315, allocations: 47.7 kB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.315, allocations: 0.8125 kB / 0.5375 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.843e-05/0.3151, allocations: 19.2 kB / 0.5375 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.3154, allocations: 39.58 kB / 0.5376 GB, free: 8.367 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.3158, allocations: 186.6 kB / 0.5377 GB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.316, allocations: 0.701 MB / 0.5384 GB, free: 7.508 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.496e-05/0.3161, allocations: 15.56 kB / 0.5384 GB, free: 7.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3161, allocations: 14.78 kB / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of SimCode: time 2e-07/0.3161, allocations: 0 / 0.5384 GB, free: 7.496 MB / 398.1 MB Notification: Performance of Templates: time 0.003793/0.3199, allocations: 1.518 MB / 0.5399 GB, free: 6.715 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches