Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 105.1 kB / 21.21 MB, free: 0.6523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001469/0.001469, allocations: 212.6 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.504/1.504, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.227/0.227, allocations: 44.93 MB / 359.6 MB, free: 6.16 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test23,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 71.91 kB / 0.4938 GB, free: 10.54 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3159, allocations: 65.46 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003961/0.3199, allocations: 2.027 MB / 0.5597 GB, free: 5.535 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002375/0.3223, allocations: 1.244 MB / 0.5609 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.3224, allocations: 4 kB / 0.5609 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.3227, allocations: 51.52 kB / 0.561 GB, free: 4.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005773/0.3233, allocations: 215.1 kB / 0.5612 GB, free: 4.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3244, allocations: 461.9 kB / 0.5616 GB, free: 3.578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3249, allocations: 327 kB / 0.5619 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.3251, allocations: 60.88 kB / 0.562 GB, free: 3.195 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002901/0.3254, allocations: 143.3 kB / 0.5621 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003076/0.3257, allocations: 215.2 kB / 0.5623 GB, free: 2.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.142e-05/0.3257, allocations: 12 kB / 0.5623 GB, free: 2.832 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.3259, allocations: 75.89 kB / 0.5624 GB, free: 2.758 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.3261, allocations: 143.5 kB / 0.5626 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.3263, allocations: 138.9 kB / 0.5627 GB, free: 2.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.3269, allocations: 443.9 kB / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.3269, allocations: 0 / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.3269, allocations: 0 / 0.5631 GB, free: 2.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.3269, allocations: 0 / 0.5631 GB, free: 2.047 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.001414/0.3283, allocations: 0.7679 MB / 0.5639 GB, free: 1.246 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.619e-05/0.3284, allocations: 15.97 kB / 0.5639 GB, free: 1.23 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3e-05/0.3284, allocations: 4.188 kB / 0.5639 GB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.3285, allocations: 42.73 kB / 0.5639 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004819/0.329, allocations: 104.5 kB / 0.564 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007136/0.3297, allocations: 431.1 kB / 0.5644 GB, free: 0.625 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.3297, allocations: 12.11 kB / 0.5644 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.3297, allocations: 12 kB / 0.5645 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003178/0.3301, allocations: 148.9 kB / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.3301, allocations: 0 / 0.5646 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.3301, allocations: 4 kB / 0.5646 GB, free: 452 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.3301, allocations: 8 kB / 0.5646 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002919/0.3304, allocations: 99.86 kB / 0.5647 GB, free: 344 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.3314, allocations: 0.6324 MB / 0.5653 GB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.3317, allocations: 113.2 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.3319, allocations: 61.81 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.672e-05/0.3319, allocations: 3.984 kB / 0.5655 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.3319, allocations: 42.5 kB / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.3319, allocations: 0 / 0.5655 GB, free: 15.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002079/0.334, allocations: 0.6988 MB / 0.5662 GB, free: 14.7 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3341, allocations: 85.09 kB / 0.5663 GB, free: 14.6 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.3352, allocations: 0.9181 MB / 0.5672 GB, free: 13.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.645e-05/0.3353, allocations: 33.7 kB / 0.5672 GB, free: 13.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.3356, allocations: 276.4 kB / 0.5675 GB, free: 13.34 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.373e-05/0.3356, allocations: 71.33 kB / 0.5676 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.605e-05/0.3357, allocations: 41.91 kB / 0.5676 GB, free: 13.22 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3359, allocations: 321.9 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.3362, allocations: 87.88 kB / 0.568 GB, free: 12.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002669/0.3364, allocations: 109.6 kB / 0.5681 GB, free: 12.7 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.337, allocations: 209.7 kB / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.337, allocations: 192 / 0.5683 GB, free: 12.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007624/0.3377, allocations: 317 kB / 0.5686 GB, free: 12.18 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.3377, allocations: 8 kB / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.3378, allocations: 0 / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/0.3378, allocations: 0 / 0.5686 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003196/0.3381, allocations: 55.95 kB / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.3381, allocations: 0 / 0.5687 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002097/0.3383, allocations: 27.97 kB / 0.5687 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.3383, allocations: 8 kB / 0.5687 GB, free: 12.08 MB / 414.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 (20): * Single equations (assignments): 20 * 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.0002603/0.3386, allocations: 213.7 kB / 0.5689 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001233/0.3387, allocations: 63.58 kB / 0.569 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009044/0.3396, allocations: 358.7 kB / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.3396, allocations: 0 / 0.5693 GB, free: 11.44 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.3396, allocations: 4 kB / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3396, allocations: 0 / 0.5693 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001414/0.3411, allocations: 0.8284 MB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.3411, allocations: 4 kB / 0.5701 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002509/0.3413, allocations: 55.89 kB / 0.5702 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.3413, allocations: 3.984 kB / 0.5702 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.3413, allocations: 11.92 kB / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.3413, allocations: 0 / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3413, allocations: 0 / 0.5702 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.3421, allocations: 484.3 kB / 0.5706 GB, free: 9.992 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.3423, allocations: 79.55 kB / 0.5707 GB, free: 9.914 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.338e-05/0.3423, allocations: 11.94 kB / 0.5707 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002602/0.3426, allocations: 23.97 kB / 0.5708 GB, free: 9.879 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.233e-05/0.3427, allocations: 23.91 kB / 0.5708 GB, free: 9.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-05/0.3427, allocations: 4 kB / 0.5708 GB, free: 9.852 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008526/0.3435, allocations: 0.6786 MB / 0.5714 GB, free: 9.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3435, allocations: 3.938 kB / 0.5714 GB, free: 9.176 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004167/0.3439, allocations: 71.92 kB / 0.5715 GB, free: 9.105 MB / 414.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 (20): * Single equations (assignments): 20 * 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.002724/0.3467, allocations: 1.344 MB / 0.5728 GB, free: 7.918 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006656/0.3473, allocations: 207.8 kB / 0.573 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3473, allocations: 0 / 0.573 GB, free: 7.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.3476, allocations: 116.4 kB / 0.5731 GB, free: 7.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006789/0.3483, allocations: 93.81 kB / 0.5732 GB, free: 7.512 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007978/0.3563, allocations: 5.306 MB / 0.5784 GB, free: 2.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.3566, allocations: 275.3 kB / 0.5787 GB, free: 1.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002429/0.3569, allocations: 87.22 kB / 0.5788 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/0.3572, allocations: 191.3 kB / 0.5789 GB, free: 1.551 MB / 414.1 MB Notification: Performance of SimCode: time 1.734e-06/0.3572, allocations: 0 / 0.5789 GB, free: 1.551 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03678/0.394, allocations: 10.91 MB / 0.5896 GB, free: 6.754 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.22/12.62, allocations: 14.44 kB / 0.5896 GB, free: 6.746 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23_fmu --startTime=0 --stopTime=4 --stepSize=0.00079952 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test23.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.74849404511042] Failed to read output from testmodel.py, exit status != 0: ['time', 'cosine_R.y', 'sine_R.y', 'cosine_L.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'] 12.845232387073338 12.874445645 12.541934444 Calling exit ...