Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.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.001536/0.001536, allocations: 117.5 kB / 19.17 MB, free: 3.922 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.001678/0.001678, allocations: 203.9 kB / 22.12 MB, free: 0.9805 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.509/1.509, allocations: 207.6 MB / 232.5 MB, free: 3.953 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.001804/0.001804, allocations: 51.94 kB / 343 MB, free: 10.02 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09943, allocations: 49.13 MB / 392.1 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002996/0.1024, allocations: 1.497 MB / 393.6 MB, free: 7.219 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1034, allocations: 0.5421 MB / 394.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.609e-05/0.1034, allocations: 0 / 394.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001184/0.1035, allocations: 27.84 kB / 394.2 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.187e-05/0.1036, allocations: 3.938 kB / 394.2 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.1038, allocations: 43.84 kB / 394.2 MB, free: 6.594 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000109/0.1039, allocations: 59.84 kB / 394.3 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.104, allocations: 19.91 kB / 394.3 MB, free: 6.516 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.1041, allocations: 31.86 kB / 394.3 MB, free: 6.484 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.221e-05/0.1042, allocations: 27.84 kB / 394.3 MB, free: 6.457 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.1042, allocations: 8 kB / 394.3 MB, free: 6.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.1043, allocations: 16 kB / 394.4 MB, free: 6.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.1043, allocations: 11.98 kB / 394.4 MB, free: 6.422 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.956e-05/0.1043, allocations: 31.8 kB / 394.4 MB, free: 6.391 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001602/0.1045, allocations: 71.66 kB / 394.5 MB, free: 6.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1045, allocations: 8 kB / 394.5 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1045, allocations: 3.938 kB / 394.5 MB, free: 6.309 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.1045, allocations: 0 / 394.5 MB, free: 6.309 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006871/0.1052, allocations: 379.2 kB / 394.9 MB, free: 5.891 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.1052, allocations: 12.03 kB / 394.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.391e-05/0.1052, allocations: 192 / 394.9 MB, free: 5.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.747e-05/0.1053, allocations: 34.73 kB / 394.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.492e-05/0.1053, allocations: 16.89 kB / 394.9 MB, free: 5.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.1055, allocations: 172.3 kB / 395.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.499e-05/0.1055, allocations: 384 / 395.1 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.1055, allocations: 4.375 kB / 395.1 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.1058, allocations: 89.52 kB / 395.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/0.1058, allocations: 0 / 395.2 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1058, allocations: 4 kB / 395.2 MB, free: 5.512 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.1058, allocations: 4 kB / 395.2 MB, free: 5.508 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.1062, allocations: 83.91 kB / 395.3 MB, free: 5.426 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004406/0.1066, allocations: 308.7 kB / 395.6 MB, free: 5.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.1069, allocations: 74.53 kB / 395.6 MB, free: 4.992 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001725/0.107, allocations: 44.94 kB / 395.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.107, allocations: 0 / 395.7 MB, free: 4.945 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.1071, allocations: 34.56 kB / 395.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 9.22e-07/0.1071, allocations: 0 / 395.7 MB, free: 4.902 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006055/0.1077, allocations: 149.6 kB / 395.9 MB, free: 4.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1077, allocations: 55.41 kB / 395.9 MB, free: 4.684 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.1078, allocations: 113.8 kB / 396 MB, free: 4.562 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.817e-05/0.1078, allocations: 29.7 kB / 396.1 MB, free: 4.527 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.862e-05/0.1079, allocations: 92.03 kB / 396.2 MB, free: 4.434 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.1079, allocations: 19.89 kB / 396.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.83e-05/0.108, allocations: 17.72 kB / 396.2 MB, free: 4.391 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001373/0.1081, allocations: 322.8 kB / 396.5 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.1083, allocations: 31.97 kB / 396.5 MB, free: 4.035 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.1084, allocations: 39.95 kB / 396.6 MB, free: 3.996 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003065/0.1087, allocations: 80.73 kB / 396.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1087, allocations: 0 / 396.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003686/0.1091, allocations: 117.6 kB / 396.8 MB, free: 3.793 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1091, allocations: 7.938 kB / 396.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1091, allocations: 0 / 396.8 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1091, allocations: 4 kB / 396.8 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.1093, allocations: 19.98 kB / 396.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1093, allocations: 0 / 396.8 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.265e-05/0.1094, allocations: 23.91 kB / 396.8 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.133e-06/0.1094, allocations: 0 / 396.8 MB, free: 3.738 MB / 318.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.87e-05/0.1095, allocations: 113.8 kB / 396.9 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.786e-05/0.1095, allocations: 3.953 kB / 396.9 MB, free: 3.613 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004332/0.1099, allocations: 141.5 kB / 397.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.1099, allocations: 0 / 397.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.1099, allocations: 4.438 kB / 397.1 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.1099, allocations: 3.938 kB / 397.1 MB, free: 3.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1101, allocations: 185.6 kB / 397.3 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/0.1101, allocations: 4 kB / 397.3 MB, free: 3.227 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.1103, allocations: 23.97 kB / 397.3 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.1103, allocations: 4 kB / 397.3 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.1103, allocations: 4 kB / 397.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1103, allocations: 0 / 397.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1103, allocations: 0 / 397.3 MB, free: 3.195 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000428/0.1107, allocations: 227.3 kB / 397.5 MB, free: 2.957 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.071e-05/0.1108, allocations: 85.11 kB / 397.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.497e-05/0.1108, allocations: 0 / 397.6 MB, free: 2.855 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.1109, allocations: 11.98 kB / 397.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.1109, allocations: 7.984 kB / 397.6 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.047e-05/0.111, allocations: 7.938 kB / 397.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.276e-05/0.111, allocations: 91.59 kB / 397.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.111, allocations: 0 / 397.7 MB, free: 2.738 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002274/0.1112, allocations: 11.95 kB / 397.7 MB, free: 2.727 MB / 318.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 (7): * Single equations (assignments): 7 * 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.0008057/0.1121, allocations: 0.7475 MB / 398.5 MB, free: 1.953 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003876/0.1124, allocations: 83.92 kB / 398.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1124, allocations: 0 / 398.6 MB, free: 1.871 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.1126, allocations: 55.88 kB / 398.6 MB, free: 1.816 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.1129, allocations: 11.94 kB / 398.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/0.1135, allocations: 195.5 kB / 398.8 MB, free: 1.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003187/0.1138, allocations: 0.6884 MB / 399.5 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 3.422e-05/0.1138, allocations: 7.984 kB / 399.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.1139, allocations: 15.44 kB / 399.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1139, allocations: 0 / 399.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01913/0.133, allocations: 2.084 MB / 401.6 MB, free: 14.7 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.419/8.552, allocations: 19.95 kB / 401.6 MB, free: 14.68 MB / 334.1 MB " [Timeout remaining time 651] (rm -f Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_3.2.3_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 11.021422076039016] Failed to read output from testmodel.py, exit status != 0: ['time', 'len.y', 'phi.y'] 8.678308873029891 8.703348322 8.594205946 Calling exit ...