Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,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.Test1") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 118.2 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001593/0.001593, allocations: 201.2 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.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2003/0.2003, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001438/0.001438, allocations: 79.86 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3478, allocations: 62.45 MB / 0.531 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002822/0.3507, allocations: 1.595 MB / 0.5326 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009667/0.3517, allocations: 0.5279 MB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.137e-05/0.3518, allocations: 3.938 kB / 0.5331 GB, free: 11.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.352, allocations: 25.16 kB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003301/0.3524, allocations: 71.89 kB / 0.5332 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.3526, allocations: 90.81 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.3528, allocations: 69.56 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.3529, allocations: 14.88 kB / 0.5334 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.353, allocations: 24.11 kB / 0.5334 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.106e-05/0.353, allocations: 22.73 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.3531, allocations: 2.75 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.736e-05/0.3531, allocations: 32.61 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.37e-05/0.3532, allocations: 12.11 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.072e-05/0.3532, allocations: 27.88 kB / 0.5335 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.3534, allocations: 79.23 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3534, allocations: 0 / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3534, allocations: 1.375 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.3535, allocations: 4 kB / 0.5335 GB, free: 11.67 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.0004806/0.3539, allocations: 381.5 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.354, allocations: 9.625 kB / 0.5339 GB, free: 11.28 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.644e-05/0.354, allocations: 7.594 kB / 0.5339 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.3542, allocations: 193.7 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3542, allocations: 5.688 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3542, allocations: 1.75 kB / 0.5341 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.3544, allocations: 56.73 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.3544, allocations: 11.98 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.3544, allocations: 0 / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3544, allocations: 1.375 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.443e-05/0.3545, allocations: 20.36 kB / 0.5342 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003503/0.3549, allocations: 270.8 kB / 0.5345 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001961/0.3551, allocations: 44.38 kB / 0.5345 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.855e-05/0.3551, allocations: 23.81 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3552, allocations: 0 / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.3552, allocations: 31.94 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.3552, allocations: 0 / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005147/0.3557, allocations: 137.8 kB / 0.5347 GB, free: 10.51 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.3558, allocations: 55.41 kB / 0.5347 GB, free: 10.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.3559, allocations: 152.5 kB / 0.5349 GB, free: 10.31 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.3559, allocations: 25.7 kB / 0.5349 GB, free: 10.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.356, allocations: 100.1 kB / 0.535 GB, free: 10.18 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.356, allocations: 21.16 kB / 0.535 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.3561, allocations: 13.84 kB / 0.535 GB, free: 10.15 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001049/0.3562, allocations: 325.5 kB / 0.5354 GB, free: 9.824 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.674e-05/0.3563, allocations: 22.98 kB / 0.5354 GB, free: 9.812 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.547e-05/0.3563, allocations: 18.98 kB / 0.5354 GB, free: 9.805 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001244/0.3564, allocations: 50.95 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.3565, allocations: 1.375 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001703/0.3566, allocations: 80.36 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3566, allocations: 4.25 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3567, allocations: 1.656 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3567, allocations: 4 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.431e-05/0.3567, allocations: 14.02 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.3568, allocations: 0 / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.3568, allocations: 3.719 kB / 0.5355 GB, free: 9.711 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.792e-06/0.3568, allocations: 1.125 kB / 0.5355 GB, free: 9.711 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 9.218e-05/0.3569, allocations: 123.1 kB / 0.5357 GB, free: 9.586 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.287e-05/0.3569, allocations: 7 kB / 0.5357 GB, free: 9.582 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002265/0.3572, allocations: 96.88 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3572, allocations: 1.281 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3572, allocations: 0 / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.3572, allocations: 1.344 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.3576, allocations: 349.2 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3577, allocations: 1.25 kB / 0.5361 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.799e-05/0.3577, allocations: 13.33 kB / 0.5361 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3577, allocations: 7.938 kB / 0.5361 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.3578, allocations: 4.844 kB / 0.5361 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.3578, allocations: 5.031 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3578, allocations: 192 / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.358, allocations: 176.9 kB / 0.5363 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.31e-05/0.358, allocations: 78.3 kB / 0.5364 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3581, allocations: 5.203 kB / 0.5364 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.607e-05/0.3581, allocations: 10.47 kB / 0.5364 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.3582, allocations: 6 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.3582, allocations: 2.188 kB / 0.5364 GB, free: 8.867 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001063/0.3583, allocations: 129 kB / 0.5365 GB, free: 8.766 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3583, allocations: 0 / 0.5365 GB, free: 8.766 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002426/0.3586, allocations: 25.98 kB / 0.5365 GB, free: 8.75 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.0009374/0.3595, allocations: 387.8 kB / 0.5369 GB, free: 8.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3597, allocations: 55.77 kB / 0.537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3597, allocations: 0 / 0.537 GB, free: 8.523 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.686e-05/0.3598, allocations: 27.8 kB / 0.537 GB, free: 8.512 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.3602, allocations: 25.75 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.3606, allocations: 164 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002967/0.3609, allocations: 0.6983 MB / 0.5379 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.493e-05/0.361, allocations: 13.77 kB / 0.5379 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.209e-05/0.361, allocations: 12.53 kB / 0.5379 GB, free: 7.629 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.361, allocations: 0 / 0.5379 GB, free: 7.629 MB / 398.1 MB Notification: Performance of Templates: time 0.003634/0.3647, allocations: 1.118 MB / 0.539 GB, free: 7.051 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches