Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.Test23,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.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001135/0.001135, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00118/0.00118, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.496/1.496, allocations: 227.4 MB / 246.9 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.3306/0.3306, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.00151, allocations: 83.86 kB / 481.3 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4154/0.417, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003134/0.4201, allocations: 1.61 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001886/0.4221, allocations: 1.152 MB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.181e-05/0.4221, allocations: 1.344 kB / 0.5337 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002662/0.4224, allocations: 27.94 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003153/0.4227, allocations: 77.75 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002677/0.423, allocations: 90.52 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.4232, allocations: 74.81 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.4234, allocations: 14.62 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.372e-05/0.4234, allocations: 21.27 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.4236, allocations: 35.77 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.4236, allocations: 2.781 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001897/0.4238, allocations: 99.28 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.177e-05/0.4239, allocations: 15.27 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.4239, allocations: 20.41 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002643/0.4242, allocations: 147.7 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.4242, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4242, allocations: 3.938 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.4242, allocations: 0 / 0.5343 GB, free: 11.06 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.0005678/0.4248, allocations: 392.2 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4249, allocations: 9.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.106e-05/0.4249, allocations: 7.812 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002496/0.4252, allocations: 195.2 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.4252, allocations: 5.219 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.4252, allocations: 2.875 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.4254, allocations: 72.2 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.4254, allocations: 3.938 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.4255, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.4255, allocations: 1.5 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.631e-05/0.4256, allocations: 24.48 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.426, allocations: 279.6 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002469/0.4262, allocations: 46.98 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4263, allocations: 19.81 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.4263, allocations: 1.375 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.4263, allocations: 35.94 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.4263, allocations: 0 / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005685/0.4269, allocations: 144.4 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/0.427, allocations: 82.48 kB / 0.5356 GB, free: 9.758 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4272, allocations: 141.3 kB / 0.5357 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.4272, allocations: 27.08 kB / 0.5357 GB, free: 9.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.4273, allocations: 94.88 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.4273, allocations: 18.41 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.882e-05/0.4273, allocations: 25.83 kB / 0.5359 GB, free: 9.469 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.4275, allocations: 321.5 kB / 0.5362 GB, free: 9.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.737e-05/0.4275, allocations: 17.61 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.221e-05/0.4276, allocations: 35.44 kB / 0.5362 GB, free: 9.113 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001221/0.4277, allocations: 39.91 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.4278, allocations: 4.031 kB / 0.5363 GB, free: 9.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001867/0.4279, allocations: 85.06 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.428, allocations: 7.125 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.428, allocations: 0 / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.428, allocations: 1.438 kB / 0.5363 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.4281, allocations: 12.83 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.4281, allocations: 1.562 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.4281, allocations: 6.531 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.776e-06/0.4281, allocations: 5.438 kB / 0.5364 GB, free: 9.02 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 8.411e-05/0.4282, allocations: 117.5 kB / 0.5365 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.4283, allocations: 4.344 kB / 0.5365 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002593/0.4285, allocations: 100.2 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.4285, allocations: 1.062 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.4286, allocations: 0 / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.4286, allocations: 1 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004196/0.429, allocations: 354.5 kB / 0.5369 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.429, allocations: 0 / 0.5369 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.624e-05/0.4291, allocations: 21.52 kB / 0.5369 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.4291, allocations: 5.062 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4291, allocations: 1.094 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.4291, allocations: 3.938 kB / 0.537 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4291, allocations: 0.9688 kB / 0.537 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002562/0.4294, allocations: 179.1 kB / 0.5371 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.4294, allocations: 79.73 kB / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.4294, allocations: 1.25 kB / 0.5372 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.4295, allocations: 10.36 kB / 0.5372 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.4296, allocations: 6.531 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.4296, allocations: 1.312 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001016/0.4297, allocations: 113.8 kB / 0.5373 GB, free: 8.082 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4297, allocations: 1.562 kB / 0.5373 GB, free: 8.082 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000285/0.43, allocations: 42.81 kB / 0.5374 GB, free: 8.062 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.001177/0.4312, allocations: 0.49 MB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002577/0.4314, allocations: 43.97 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4314, allocations: 0 / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.636e-05/0.4315, allocations: 23.89 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.432, allocations: 25.36 kB / 0.5379 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000514/0.4325, allocations: 169.9 kB / 0.5381 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.4329, allocations: 0.6894 MB / 0.5388 GB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.039e-05/0.433, allocations: 14.56 kB / 0.5388 GB, free: 6.902 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.463e-05/0.433, allocations: 22.48 kB / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.433, allocations: 0 / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Templates: time 0.005385/0.4384, allocations: 1.763 MB / 0.5405 GB, free: 5.969 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches