Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.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.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001417/0.001417, allocations: 112.4 kB / 18.46 MB, free: 4.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 204 kB / 19.4 MB, free: 3.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, 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.2235/0.2235, allocations: 46.11 MB / 345 MB, free: 11.45 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 71.89 kB / 482 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3895, allocations: 62.44 MB / 0.5317 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test3): time 0.00362/0.3932, allocations: 1.615 MB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3946, allocations: 0.5323 MB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.354e-05/0.3947, allocations: 1.375 kB / 0.5338 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000399/0.3951, allocations: 79.33 kB / 0.5339 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003962/0.3955, allocations: 96.78 kB / 0.534 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.396, allocations: 87.2 kB / 0.534 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002317/0.3962, allocations: 95.42 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3964, allocations: 12.25 kB / 0.5341 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.307e-05/0.3964, allocations: 33.66 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.3966, allocations: 48.58 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.3966, allocations: 2.75 kB / 0.5342 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.3968, allocations: 44.86 kB / 0.5343 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.741e-05/0.3969, allocations: 22.78 kB / 0.5343 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.635e-05/0.397, allocations: 29.25 kB / 0.5343 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.3972, allocations: 108.3 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.3972, allocations: 1.875 kB / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3972, allocations: 0 / 0.5344 GB, free: 11.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.129e-05/0.3973, allocations: 0 / 0.5344 GB, free: 11.49 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007035/0.398, allocations: 412.2 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.824e-05/0.398, allocations: 8.969 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.345e-05/0.3981, allocations: 13.94 kB / 0.5348 GB, free: 11.07 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.3984, allocations: 202.9 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.3984, allocations: 5.266 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.282e-05/0.3985, allocations: 3.156 kB / 0.535 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.3987, allocations: 62.55 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3987, allocations: 0 / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3987, allocations: 1.219 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.3987, allocations: 5.062 kB / 0.5351 GB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.3988, allocations: 27.44 kB / 0.5351 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004974/0.3993, allocations: 293.6 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001489/0.3995, allocations: 42.56 kB / 0.5354 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.26e-05/0.3996, allocations: 20.28 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.3996, allocations: 5.219 kB / 0.5355 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3996, allocations: 31.25 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.133e-06/0.3997, allocations: 1.312 kB / 0.5355 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001052/0.4007, allocations: 229.3 kB / 0.5357 GB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.4008, allocations: 52.47 kB / 0.5358 GB, free: 10.17 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.4011, allocations: 204 kB / 0.536 GB, free: 10.02 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4011, allocations: 29.7 kB / 0.536 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.908e-05/0.4012, allocations: 106.1 kB / 0.5361 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.107e-05/0.4012, allocations: 26.81 kB / 0.5361 GB, free: 9.855 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.4013, allocations: 27.42 kB / 0.5361 GB, free: 9.828 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4015, allocations: 322.2 kB / 0.5365 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.725e-05/0.4016, allocations: 29.7 kB / 0.5365 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.4017, allocations: 21.58 kB / 0.5365 GB, free: 9.484 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.4018, allocations: 61.08 kB / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4018, allocations: 0 / 0.5366 GB, free: 9.453 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002372/0.4021, allocations: 103.3 kB / 0.5367 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4021, allocations: 9.438 kB / 0.5367 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4021, allocations: 4 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.8e-05/0.4022, allocations: 1.375 kB / 0.5367 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001308/0.4023, allocations: 21.67 kB / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4023, allocations: 0 / 0.5367 GB, free: 9.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.4024, allocations: 8.062 kB / 0.5367 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4024, allocations: 1.344 kB / 0.5367 GB, free: 9.367 MB / 398.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 (8): * Single equations (assignments): 8 * 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.0001359/0.4025, allocations: 128.2 kB / 0.5368 GB, free: 9.242 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.511e-05/0.4026, allocations: 12 kB / 0.5368 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003374/0.4029, allocations: 119.8 kB / 0.5369 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.4029, allocations: 0.9688 kB / 0.537 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.403, allocations: 4.906 kB / 0.537 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.403, allocations: 4.359 kB / 0.537 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006344/0.4036, allocations: 403.2 kB / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.4036, allocations: 0 / 0.5373 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.59e-05/0.4037, allocations: 22.39 kB / 0.5374 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.225e-06/0.4037, allocations: 5.312 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.4038, allocations: 1.281 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4038, allocations: 0 / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.4038, allocations: 1.516 kB / 0.5374 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.4041, allocations: 215.9 kB / 0.5376 GB, free: 8.555 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.4041, allocations: 87.36 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.256e-05/0.4042, allocations: 4.969 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.227e-05/0.4043, allocations: 7.734 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4043, allocations: 3.312 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.4043, allocations: 2.281 kB / 0.5377 GB, free: 8.445 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001545/0.4045, allocations: 158.5 kB / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4045, allocations: 0 / 0.5378 GB, free: 8.336 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003145/0.4048, allocations: 27.23 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001221/0.406, allocations: 445.7 kB / 0.5383 GB, free: 8.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002685/0.4063, allocations: 66.44 kB / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.4063, allocations: 0 / 0.5383 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4064, allocations: 37.97 kB / 0.5384 GB, free: 8.055 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.4069, allocations: 22.55 kB / 0.5384 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006955/0.4076, allocations: 276 kB / 0.5387 GB, free: 7.812 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.408, allocations: 0.7067 MB / 0.5394 GB, free: 7.102 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.4081, allocations: 17.36 kB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4081, allocations: 0.8125 kB / 0.5394 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.005586/0.4137, allocations: 1.741 MB / 0.5411 GB, free: 6.195 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches