Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 117.2 kB / 17.78 MB, free: 5.383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001223/0.001223, allocations: 200.6 kB / 18.73 MB, free: 4.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.376/1.376, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2331/0.2331, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 75.86 kB / 481.3 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3846/0.386, allocations: 62.44 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.002958/0.389, allocations: 1.594 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009648/0.39, allocations: 0.5286 MB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.39, allocations: 3.938 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002256/0.3903, allocations: 25.34 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002747/0.3906, allocations: 79 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002609/0.3908, allocations: 83.11 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.391, allocations: 65.95 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3911, allocations: 10.78 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.237e-05/0.3912, allocations: 28.47 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.5e-05/0.3912, allocations: 21.83 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.3913, allocations: 6.5 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-05/0.3914, allocations: 28.22 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.475e-05/0.3914, allocations: 13.23 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.664e-05/0.3915, allocations: 31.27 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3917, allocations: 83.47 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3917, allocations: 0 / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3917, allocations: 1.344 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.3917, allocations: 0 / 0.5335 GB, free: 11.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004921/0.3922, allocations: 379.4 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.3922, allocations: 10.28 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.068e-05/0.3923, allocations: 16.31 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.3925, allocations: 188.7 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.037e-05/0.3925, allocations: 1.688 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.3925, allocations: 1.844 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.3927, allocations: 64.19 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.3927, allocations: 0 / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.3927, allocations: 1.031 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3927, allocations: 1.125 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.454e-05/0.3928, allocations: 20.11 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003643/0.3932, allocations: 283 kB / 0.5345 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.3934, allocations: 43.69 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.3935, allocations: 19.66 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3935, allocations: 1.219 kB / 0.5345 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.3935, allocations: 39.81 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.784e-06/0.3935, allocations: 0 / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005367/0.3941, allocations: 136.6 kB / 0.5347 GB, free: 10.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3941, allocations: 52.56 kB / 0.5347 GB, free: 10.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001545/0.3943, allocations: 151.7 kB / 0.5349 GB, free: 10.3 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.3943, allocations: 26.83 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.3944, allocations: 103.5 kB / 0.535 GB, free: 10.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.3944, allocations: 21.02 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3944, allocations: 14.41 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.3946, allocations: 324.9 kB / 0.5354 GB, free: 9.812 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.099e-05/0.3946, allocations: 18.36 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.793e-05/0.3947, allocations: 19.45 kB / 0.5354 GB, free: 9.797 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.3948, allocations: 51.42 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.3948, allocations: 0 / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001706/0.395, allocations: 81.53 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.395, allocations: 5.375 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.395, allocations: 0 / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.3951, allocations: 0 / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.182e-05/0.3951, allocations: 14.3 kB / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.3951, allocations: 0 / 0.5355 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.004e-05/0.3952, allocations: 12.11 kB / 0.5355 GB, free: 9.699 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.013e-06/0.3952, allocations: 1.375 kB / 0.5355 GB, free: 9.699 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 (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 7.438e-05/0.3953, allocations: 117.9 kB / 0.5357 GB, free: 9.578 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.05e-05/0.3953, allocations: 8.078 kB / 0.5357 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002255/0.3955, allocations: 93.53 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3956, allocations: 0 / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.3956, allocations: 1.688 kB / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3956, allocations: 0 / 0.5358 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.396, allocations: 358.4 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.396, allocations: 0 / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.466e-05/0.396, allocations: 13.61 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.396, allocations: 1.375 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.3961, allocations: 4 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3961, allocations: 5.312 kB / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.3961, allocations: 0 / 0.5361 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3963, allocations: 175.1 kB / 0.5363 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.3963, allocations: 87.8 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.415e-05/0.3963, allocations: 0 / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.689e-05/0.3964, allocations: 8.062 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.048e-05/0.3965, allocations: 9.297 kB / 0.5364 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.3965, allocations: 1.375 kB / 0.5364 GB, free: 8.859 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.387e-05/0.3966, allocations: 125.2 kB / 0.5365 GB, free: 8.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3966, allocations: 3.938 kB / 0.5365 GB, free: 8.758 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002402/0.3968, allocations: 22.45 kB / 0.5365 GB, free: 8.746 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.0008803/0.3977, allocations: 405.2 kB / 0.5369 GB, free: 8.531 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.3979, allocations: 43.81 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3979, allocations: 1 kB / 0.537 GB, free: 8.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.398, allocations: 31.2 kB / 0.537 GB, free: 8.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.3983, allocations: 18.11 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.3987, allocations: 178.4 kB / 0.5372 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.399, allocations: 0.6904 MB / 0.5379 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.268e-05/0.399, allocations: 14.47 kB / 0.5379 GB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.779e-05/0.3991, allocations: 11.69 kB / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3991, allocations: 0 / 0.5379 GB, free: 7.617 MB / 398.1 MB Notification: Performance of Templates: time 0.003993/0.4031, allocations: 1.109 MB / 0.539 GB, free: 7.047 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches