Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001666/0.001666, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 230.5 MB / 258.2 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2242/0.2242, allocations: 46.92 MB / 361.6 MB, free: 4.223 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 75.88 kB / 0.497 GB, free: 7.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3223, allocations: 66.09 MB / 0.5615 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003445/0.3257, allocations: 2.131 MB / 0.5636 GB, free: 2.176 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.3281, allocations: 1.415 MB / 0.565 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001284/0.3282, allocations: 7.938 kB / 0.565 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.3285, allocations: 63.42 kB / 0.5651 GB, free: 0.6836 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000474/0.3289, allocations: 211.1 kB / 0.5653 GB, free: 488 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3303, allocations: 0.6288 MB / 0.5659 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.3307, allocations: 366.7 kB / 0.5662 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.3309, allocations: 48.91 kB / 0.5663 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.3311, allocations: 163.3 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.3314, allocations: 215.2 kB / 0.5666 GB, free: 15.08 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.564e-05/0.3315, allocations: 16 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001469/0.3316, allocations: 71.91 kB / 0.5667 GB, free: 15 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001642/0.3318, allocations: 159.4 kB / 0.5669 GB, free: 14.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001683/0.3319, allocations: 186.5 kB / 0.567 GB, free: 14.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004985/0.3324, allocations: 439.9 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.3324, allocations: 0 / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.3324, allocations: 0 / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3325, allocations: 4 kB / 0.5675 GB, free: 14.22 MB / 414.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.001098/0.3335, allocations: 0.7872 MB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.3336, allocations: 12.03 kB / 0.5682 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.515e-05/0.3336, allocations: 46.73 kB / 0.5683 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000417/0.3341, allocations: 100.5 kB / 0.5684 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006927/0.3348, allocations: 443.1 kB / 0.5688 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.3348, allocations: 8.375 kB / 0.5688 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.079e-05/0.3348, allocations: 12.36 kB / 0.5688 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003337/0.3351, allocations: 163.3 kB / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3351, allocations: 0 / 0.569 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.837e-05/0.3352, allocations: 8 kB / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3352, allocations: 0 / 0.569 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003109/0.3355, allocations: 127.8 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.3365, allocations: 0.6947 MB / 0.5698 GB, free: 11.71 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002939/0.3368, allocations: 129.2 kB / 0.5699 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001541/0.337, allocations: 65.8 kB / 0.57 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.337, allocations: 4 kB / 0.57 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.337, allocations: 34.56 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.337, allocations: 3.938 kB / 0.57 GB, free: 11.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=20): time 0.002022/0.339, allocations: 0.7801 MB / 0.5708 GB, free: 10.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/0.3391, allocations: 77.11 kB / 0.5709 GB, free: 10.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.3402, allocations: 0.9299 MB / 0.5718 GB, free: 9.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.3402, allocations: 25.7 kB / 0.5718 GB, free: 9.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.3404, allocations: 284.3 kB / 0.5721 GB, free: 9.305 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.945e-05/0.3405, allocations: 71.39 kB / 0.5721 GB, free: 9.234 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.943e-05/0.3406, allocations: 45.69 kB / 0.5722 GB, free: 9.184 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.3407, allocations: 314 kB / 0.5725 GB, free: 8.871 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.341, allocations: 103.9 kB / 0.5726 GB, free: 8.77 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.3412, allocations: 133.6 kB / 0.5727 GB, free: 8.633 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.3418, allocations: 245.5 kB / 0.5729 GB, free: 8.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3418, allocations: 3.938 kB / 0.5729 GB, free: 8.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000731/0.3425, allocations: 357.1 kB / 0.5733 GB, free: 8.027 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.3425, allocations: 4 kB / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.3425, allocations: 0 / 0.5733 GB, free: 8.023 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3425, allocations: 4 kB / 0.5733 GB, free: 8.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.3428, allocations: 51.95 kB / 0.5733 GB, free: 7.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3428, allocations: 4 kB / 0.5733 GB, free: 7.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.343, allocations: 24.94 kB / 0.5734 GB, free: 7.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.823e-05/0.343, allocations: 4 kB / 0.5734 GB, free: 7.938 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.0002346/0.3433, allocations: 230.5 kB / 0.5736 GB, free: 7.703 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3434, allocations: 63.58 kB / 0.5736 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008628/0.3442, allocations: 410.5 kB / 0.574 GB, free: 7.23 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.3442, allocations: 4 kB / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3443, allocations: 0 / 0.574 GB, free: 7.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.3443, allocations: 3.984 kB / 0.574 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.3457, allocations: 0.938 MB / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3457, allocations: 0 / 0.575 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.346, allocations: 55.89 kB / 0.575 GB, free: 6.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.346, allocations: 4 kB / 0.575 GB, free: 6.176 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.346, allocations: 3.984 kB / 0.575 GB, free: 6.172 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.346, allocations: 8 kB / 0.575 GB, free: 6.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.346, allocations: 3.938 kB / 0.575 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007804/0.3468, allocations: 0.5123 MB / 0.5755 GB, free: 5.633 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3469, allocations: 83.55 kB / 0.5756 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.438e-05/0.347, allocations: 3.984 kB / 0.5756 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002432/0.3472, allocations: 23.92 kB / 0.5756 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.231e-05/0.3473, allocations: 23.91 kB / 0.5757 GB, free: 5.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.3473, allocations: 7.984 kB / 0.5757 GB, free: 5.492 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007657/0.3481, allocations: 0.6786 MB / 0.5763 GB, free: 4.82 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3481, allocations: 0 / 0.5763 GB, free: 4.82 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003691/0.3485, allocations: 68 kB / 0.5764 GB, free: 4.754 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.002469/0.3509, allocations: 1.365 MB / 0.5777 GB, free: 3.504 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006587/0.3516, allocations: 243.8 kB / 0.578 GB, free: 3.266 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3516, allocations: 4 kB / 0.578 GB, free: 3.262 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003118/0.3519, allocations: 144.3 kB / 0.5781 GB, free: 3.121 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005789/0.3525, allocations: 85.78 kB / 0.5782 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007396/0.3599, allocations: 5.504 MB / 0.5836 GB, free: 13.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.3604, allocations: 0.8889 MB / 0.5844 GB, free: 12.52 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002715/0.3607, allocations: 119.2 kB / 0.5845 GB, free: 12.41 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.3609, allocations: 191.4 kB / 0.5847 GB, free: 12.22 MB / 430.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3609, allocations: 0 / 0.5847 GB, free: 12.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03779/0.3987, allocations: 10.87 MB / 0.5953 GB, free: 1.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.1/10.5, allocations: 10.56 kB / 0.5953 GB, free: 1.344 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00079952 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.931685239076614] Failed to read output from testmodel.py, exit status != 0: ['time', 'combiTable2D_1R.y[1]', 'der_1R.y', 'combiTable2D_2R.y[1]', 'der_2R.y', 'cosine_R.y', 'sine_R.y', 'combiTable2D_1L.y[1]', 'der_1L.y', 'combiTable2D_2L.y[1]', 'der_2L.y', 'cosine_L.y', 'sine_L.y'] 10.642739546950907 10.657235004 10.321858212 Calling exit ...