Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.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.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 111.7 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 213.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 227.4 MB / 247.6 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.2081/0.2081, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/0.3111, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.003245/0.3144, allocations: 2.023 MB / 0.5336 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.3164, allocations: 1.254 MB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3166, allocations: 2.406 kB / 0.5349 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.3168, allocations: 48.42 kB / 0.5349 GB, free: 11 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.3174, allocations: 209.5 kB / 0.5351 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3184, allocations: 444.2 kB / 0.5355 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003605/0.3188, allocations: 294.9 kB / 0.5358 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001627/0.3189, allocations: 58.84 kB / 0.5359 GB, free: 10.39 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.3192, allocations: 134 kB / 0.536 GB, free: 10.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.3194, allocations: 186.6 kB / 0.5362 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.845e-05/0.3195, allocations: 13.22 kB / 0.5362 GB, free: 10.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.3196, allocations: 64.38 kB / 0.5363 GB, free: 10.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.3198, allocations: 139.5 kB / 0.5364 GB, free: 10.11 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3199, allocations: 168.4 kB / 0.5366 GB, free: 9.973 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.3204, allocations: 384.7 kB / 0.5369 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3204, allocations: 0 / 0.5369 GB, free: 9.734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3204, allocations: 3.938 kB / 0.5369 GB, free: 9.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.3204, allocations: 1.062 kB / 0.5369 GB, free: 9.73 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000969/0.3214, allocations: 0.765 MB / 0.5377 GB, free: 9.055 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3214, allocations: 10.39 kB / 0.5377 GB, free: 9.055 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.3217, allocations: 71.92 kB / 0.5377 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.3223, allocations: 459.9 kB / 0.5382 GB, free: 8.656 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3224, allocations: 8.594 kB / 0.5382 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.156e-05/0.3224, allocations: 10.97 kB / 0.5382 GB, free: 8.648 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002616/0.3227, allocations: 136.6 kB / 0.5383 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3227, allocations: 0.9062 kB / 0.5383 GB, free: 8.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.511e-05/0.3227, allocations: 5.625 kB / 0.5383 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.3227, allocations: 10.59 kB / 0.5384 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002053/0.3229, allocations: 70.64 kB / 0.5384 GB, free: 8.508 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/0.3238, allocations: 0.6633 MB / 0.5391 GB, free: 7.953 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.324, allocations: 112.6 kB / 0.5392 GB, free: 7.867 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.3241, allocations: 40.17 kB / 0.5392 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.3242, allocations: 10.27 kB / 0.5392 GB, free: 7.832 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.3242, allocations: 44.73 kB / 0.5393 GB, free: 7.781 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/0.3242, allocations: 3.938 kB / 0.5393 GB, free: 7.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001411/0.3256, allocations: 0.5011 MB / 0.5398 GB, free: 7.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.3257, allocations: 82.77 kB / 0.5398 GB, free: 7.383 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/0.3267, allocations: 0.8929 MB / 0.5407 GB, free: 6.965 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/0.3267, allocations: 26.67 kB / 0.5407 GB, free: 6.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001894/0.3269, allocations: 267.5 kB / 0.541 GB, free: 6.695 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.396e-05/0.327, allocations: 53.2 kB / 0.541 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.297e-05/0.3271, allocations: 32.95 kB / 0.5411 GB, free: 6.621 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3272, allocations: 372.6 kB / 0.5414 GB, free: 6.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.3274, allocations: 55.45 kB / 0.5415 GB, free: 6.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.3276, allocations: 76.3 kB / 0.5416 GB, free: 6.195 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003213/0.3279, allocations: 129.6 kB / 0.5417 GB, free: 6.129 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.3279, allocations: 1.094 kB / 0.5417 GB, free: 6.129 MB / 398.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004629/0.3284, allocations: 225.6 kB / 0.5419 GB, free: 6.004 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3284, allocations: 9.406 kB / 0.5419 GB, free: 6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3284, allocations: 5.078 kB / 0.5419 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3285, allocations: 1.156 kB / 0.5419 GB, free: 5.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.3287, allocations: 39.12 kB / 0.5419 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.3287, allocations: 2.312 kB / 0.5419 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.3288, allocations: 17.61 kB / 0.542 GB, free: 5.973 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.3288, allocations: 4.469 kB / 0.542 GB, free: 5.973 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (16): * Single equations (assignments): 16 * 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.0002002/0.3291, allocations: 213.3 kB / 0.5422 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.91e-05/0.3292, allocations: 53 kB / 0.5422 GB, free: 5.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005921/0.3298, allocations: 270.9 kB / 0.5425 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.3298, allocations: 2.594 kB / 0.5425 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3298, allocations: 1.219 kB / 0.5425 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.3298, allocations: 0 / 0.5425 GB, free: 5.633 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.3309, allocations: 0.7748 MB / 0.5432 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.3309, allocations: 1.375 kB / 0.5432 GB, free: 5.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.3311, allocations: 35.16 kB / 0.5433 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.3311, allocations: 1.062 kB / 0.5433 GB, free: 4.996 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.3311, allocations: 6.25 kB / 0.5433 GB, free: 4.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.3311, allocations: 12.91 kB / 0.5433 GB, free: 4.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.3311, allocations: 5.203 kB / 0.5433 GB, free: 4.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005344/0.3316, allocations: 389 kB / 0.5437 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.3318, allocations: 132.5 kB / 0.5438 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.895e-05/0.3318, allocations: 10.67 kB / 0.5438 GB, free: 4.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.332, allocations: 13.88 kB / 0.5438 GB, free: 4.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.027e-05/0.3321, allocations: 21.86 kB / 0.5438 GB, free: 4.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3321, allocations: 5.312 kB / 0.5438 GB, free: 4.531 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007699/0.3329, allocations: 0.6543 MB / 0.5445 GB, free: 4.223 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3329, allocations: 0 / 0.5445 GB, free: 4.223 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003898/0.3333, allocations: 57.58 kB / 0.5445 GB, free: 4.172 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 (16): * Single equations (assignments): 16 * 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.0009456/0.3343, allocations: 406.4 kB / 0.5449 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.3347, allocations: 135.9 kB / 0.5451 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.3347, allocations: 0 / 0.5451 GB, free: 3.773 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001841/0.3349, allocations: 83.83 kB / 0.5451 GB, free: 3.691 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.3355, allocations: 80.89 kB / 0.5452 GB, free: 3.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.3369, allocations: 0.9253 MB / 0.5461 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.3373, allocations: 0.8536 MB / 0.547 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.3375, allocations: 43.42 kB / 0.547 GB, free: 1.73 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3375, allocations: 0 / 0.547 GB, free: 1.73 MB / 398.1 MB Notification: Performance of Templates: time 0.009522/0.347, allocations: 5.61 MB / 0.5525 GB, free: 12.12 MB / 414.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches