Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.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.Test12,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.Test12") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test12,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.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001507/0.001507, allocations: 121.7 kB / 17.79 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.001744/0.001744, allocations: 199.8 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.425/1.425, 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.2528/0.2528, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 75.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.418/0.4194, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test12): time 0.003728/0.4232, allocations: 1.604 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.4245, allocations: 0.5221 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.092e-05/0.4246, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.4249, allocations: 38.64 kB / 0.5331 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000301/0.4252, allocations: 69.81 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.4255, allocations: 94.45 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.4257, allocations: 60.58 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.4258, allocations: 14.88 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.34e-05/0.4259, allocations: 32.03 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.989e-05/0.426, allocations: 22.58 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.426, allocations: 2.656 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.4261, allocations: 32.3 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.201e-05/0.4262, allocations: 17.17 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.763e-05/0.4262, allocations: 28.36 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001821/0.4264, allocations: 82.36 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4264, allocations: 7.938 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4264, allocations: 0 / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.4265, allocations: 1.375 kB / 0.5336 GB, free: 11.63 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.000522/0.427, allocations: 396.2 kB / 0.5339 GB, free: 11.22 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.427, allocations: 8.469 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.061e-05/0.4271, allocations: 9.031 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.4273, allocations: 198.9 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4273, allocations: 1.594 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/0.4274, allocations: 5.312 kB / 0.5342 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.4275, allocations: 56.08 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.4275, allocations: 0 / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.4275, allocations: 1.094 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.4276, allocations: 0 / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001/0.4277, allocations: 21.36 kB / 0.5342 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.4281, allocations: 276.6 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.4283, allocations: 48.19 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.4284, allocations: 18.53 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.4284, allocations: 1.062 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4285, allocations: 31.62 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.4285, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006002/0.4291, allocations: 146 kB / 0.5347 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.354e-05/0.4291, allocations: 56.48 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/0.4293, allocations: 177.2 kB / 0.535 GB, free: 10.24 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.4294, allocations: 25.7 kB / 0.535 GB, free: 10.21 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.311e-05/0.4294, allocations: 104.6 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.4295, allocations: 22.02 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.4295, allocations: 14.38 kB / 0.5351 GB, free: 10.07 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.4297, allocations: 325.3 kB / 0.5354 GB, free: 9.75 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/0.4297, allocations: 18.67 kB / 0.5354 GB, free: 9.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.246e-05/0.4298, allocations: 18.23 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.43, allocations: 52.89 kB / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.43, allocations: 0 / 0.5355 GB, free: 9.703 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002187/0.4302, allocations: 81.77 kB / 0.5356 GB, free: 9.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.252e-05/0.4303, allocations: 9.344 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4303, allocations: 0 / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.4303, allocations: 3.938 kB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.098e-05/0.4304, allocations: 13.86 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.4304, allocations: 1.594 kB / 0.5356 GB, free: 9.637 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.398e-05/0.4304, allocations: 14.17 kB / 0.5356 GB, free: 9.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-06/0.4304, allocations: 1.312 kB / 0.5356 GB, free: 9.625 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.104e-05/0.4305, allocations: 116.6 kB / 0.5357 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.263e-05/0.4306, allocations: 12.03 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.4308, allocations: 94.91 kB / 0.5358 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-06/0.4309, allocations: 0 / 0.5358 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.799e-06/0.4309, allocations: 5.359 kB / 0.5358 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.4309, allocations: 3.938 kB / 0.5359 GB, free: 9.426 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005132/0.4314, allocations: 343.9 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.4314, allocations: 1.375 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.351e-05/0.4315, allocations: 17.61 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4315, allocations: 0 / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4315, allocations: 5.312 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.4315, allocations: 0 / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4315, allocations: 192 / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.4318, allocations: 184.3 kB / 0.5364 GB, free: 8.902 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.207e-05/0.4319, allocations: 87.77 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.085e-05/0.4319, allocations: 4.219 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.432, allocations: 12.11 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.4321, allocations: 1.375 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.4321, allocations: 1.375 kB / 0.5365 GB, free: 8.789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001383/0.4322, allocations: 140.6 kB / 0.5366 GB, free: 8.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.4322, allocations: 0 / 0.5366 GB, free: 8.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.4325, allocations: 18.48 kB / 0.5366 GB, free: 8.68 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.001062/0.4335, allocations: 395.4 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002272/0.4338, allocations: 46.94 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.4338, allocations: 5.094 kB / 0.5371 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.931e-05/0.4339, allocations: 27.42 kB / 0.5371 GB, free: 8.434 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000401/0.4343, allocations: 17.64 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.4349, allocations: 194.7 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.4353, allocations: 0.6976 MB / 0.538 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.859e-05/0.4353, allocations: 16.64 kB / 0.538 GB, free: 7.551 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.924e-05/0.4354, allocations: 12.09 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4354, allocations: 0 / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of Templates: time 0.004456/0.4399, allocations: 1.145 MB / 0.5391 GB, free: 6.949 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches