Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 114.2 kB / 17.08 MB, free: 5.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 191.7 kB / 20.02 MB, free: 3.039 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.572/1.572, allocations: 205.1 MB / 227.9 MB, free: 4.316 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3638/0.3638, allocations: 43.51 MB / 320.8 MB, free: 9.039 MB / 254.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002179/0.002179, allocations: 75.88 kB / 450 MB, free: 11.07 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2655, allocations: 57.77 MB / 0.4959 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.003448/0.2689, allocations: 3.075 MB / 0.4989 GB, free: 17.06 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008763/0.2699, allocations: 414.2 kB / 0.4993 GB, free: 16.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002205/0.2701, allocations: 12.22 kB / 0.4993 GB, free: 16.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001261/0.2703, allocations: 61.62 kB / 0.4994 GB, free: 16.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.2706, allocations: 165.4 kB / 0.4995 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002168/0.2708, allocations: 101.7 kB / 0.4996 GB, free: 16.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.2712, allocations: 0.5357 MB / 0.5001 GB, free: 16.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002554/0.2715, allocations: 171.2 kB / 0.5003 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.2717, allocations: 198.3 kB / 0.5005 GB, free: 15.89 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.2719, allocations: 210 kB / 0.5007 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.449e-05/0.272, allocations: 40.5 kB / 0.5007 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.2721, allocations: 39.81 kB / 0.5008 GB, free: 15.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.2722, allocations: 101.9 kB / 0.5009 GB, free: 15.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001958/0.2724, allocations: 248.1 kB / 0.5011 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000507/0.2729, allocations: 0.5305 MB / 0.5016 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2729, allocations: 0 / 0.5016 GB, free: 15.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2729, allocations: 0 / 0.5016 GB, free: 15.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.734e-05/0.2729, allocations: 1.469 kB / 0.5016 GB, free: 15.13 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008811/0.2738, allocations: 0.7225 MB / 0.5023 GB, free: 14.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.2739, allocations: 12.89 kB / 0.5023 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.655e-05/0.2739, allocations: 89.92 kB / 0.5024 GB, free: 14.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.274, allocations: 55.48 kB / 0.5025 GB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002673/0.2743, allocations: 290.4 kB / 0.5028 GB, free: 14.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.2744, allocations: 36.44 kB / 0.5028 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.2745, allocations: 56.22 kB / 0.5028 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006064/0.2751, allocations: 461.5 kB / 0.5033 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.2751, allocations: 16.23 kB / 0.5033 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.2752, allocations: 16.09 kB / 0.5033 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.2752, allocations: 12.75 kB / 0.5033 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003958/0.2756, allocations: 274.2 kB / 0.5036 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.2774, allocations: 1.688 MB / 0.5052 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000432/0.2778, allocations: 410.8 kB / 0.5056 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.278, allocations: 160.1 kB / 0.5058 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.278, allocations: 4.719 kB / 0.5058 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.2781, allocations: 50.67 kB / 0.5058 GB, free: 11.6 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 2.154e-06/0.2781, allocations: 1.062 kB / 0.5058 GB, free: 11.6 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007048/0.2788, allocations: 360.4 kB / 0.5062 GB, free: 11.42 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.2788, allocations: 276.4 kB / 0.5064 GB, free: 11.09 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.2791, allocations: 246.4 kB / 0.5067 GB, free: 10.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.2791, allocations: 36.05 kB / 0.5067 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.218e-05/0.2792, allocations: 246.6 kB / 0.5069 GB, free: 10.65 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.696e-05/0.2793, allocations: 183.1 kB / 0.5071 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.2794, allocations: 116.4 kB / 0.5072 GB, free: 10.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.2794, allocations: 346.6 kB / 0.5076 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001776/0.2796, allocations: 127.8 kB / 0.5077 GB, free: 10.01 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000287/0.2799, allocations: 418 kB / 0.5081 GB, free: 9.551 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004963/0.2804, allocations: 0.5762 MB / 0.5086 GB, free: 9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/0.2804, allocations: 3.375 kB / 0.5086 GB, free: 9 MB / 382.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0007576/0.2812, allocations: 0.571 MB / 0.5092 GB, free: 8.707 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.2812, allocations: 13.39 kB / 0.5092 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.2813, allocations: 10 kB / 0.5092 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.161e-05/0.2813, allocations: 17.56 kB / 0.5092 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.2818, allocations: 176.8 kB / 0.5094 GB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.156e-05/0.2819, allocations: 18.81 kB / 0.5094 GB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000266/0.2821, allocations: 67.72 kB / 0.5095 GB, free: 8.609 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.644e-05/0.2822, allocations: 32.09 kB / 0.5095 GB, free: 8.605 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (86): * Single equations (assignments): 86 * 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.0001456/0.2823, allocations: 186 kB / 0.5097 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.2825, allocations: 43.25 kB / 0.5097 GB, free: 8.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.575e-05/0.2826, allocations: 41.27 kB / 0.5098 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.2826, allocations: 10.94 kB / 0.5098 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.2826, allocations: 2.312 kB / 0.5098 GB, free: 8.379 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.2827, allocations: 6.781 kB / 0.5098 GB, free: 8.375 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008813/0.2835, allocations: 411.7 kB / 0.5102 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.2836, allocations: 10.69 kB / 0.5102 GB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005022/0.2841, allocations: 123 kB / 0.5103 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.2841, allocations: 4.125 kB / 0.5103 GB, free: 8.004 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.93e-05/0.2841, allocations: 17.5 kB / 0.5103 GB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/0.2841, allocations: 15.98 kB / 0.5104 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2841, allocations: 2.75 kB / 0.5104 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006157/0.2848, allocations: 1.078 MB / 0.5114 GB, free: 7.082 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.664e-05/0.2848, allocations: 119.8 kB / 0.5115 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.2849, allocations: 13.44 kB / 0.5115 GB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003798/0.2853, allocations: 16.12 kB / 0.5116 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.564e-05/0.2853, allocations: 33.33 kB / 0.5116 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.2853, allocations: 10.38 kB / 0.5116 GB, free: 6.918 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001201/0.2855, allocations: 169.9 kB / 0.5118 GB, free: 6.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2855, allocations: 0 / 0.5118 GB, free: 6.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008207/0.2863, allocations: 132 kB / 0.5119 GB, free: 6.766 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * 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 (42): * Single equations (assignments): 42 * 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.0008104/0.2871, allocations: 1.644 MB / 0.5135 GB, free: 5.312 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000531/0.2877, allocations: 349.5 kB / 0.5138 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.2877, allocations: 0 / 0.5138 GB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001439/0.2878, allocations: 133.2 kB / 0.5139 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001183/0.289, allocations: 105.4 kB / 0.5141 GB, free: 5.059 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005114/0.2941, allocations: 5.602 MB / 0.5195 GB, free: 324 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.2947, allocations: 0.8306 MB / 0.5203 GB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.2949, allocations: 47.66 kB / 0.5204 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.2951, allocations: 148.6 kB / 0.5205 GB, free: 15.41 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.2951, allocations: 3.938 kB / 0.5205 GB, free: 15.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04501/0.3401, allocations: 8.294 MB / 0.5286 GB, free: 7.422 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.88/9.22, allocations: 15.94 kB / 0.5286 GB, free: 7.406 MB / 398.1 MB " [Timeout remaining time 651] (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.04466372099705] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertia1.phi', 'inertia1.w', 'inertia2.phi', 'inertia2.w', 'inertia3.phi', 'inertia3.w', 'inertia4.phi', 'inertia4.w', 'inertia5.phi', 'inertia5.w', 'inertia6.phi', 'inertia6.w', 'inertia7.phi', 'inertia7.w', 'inertia7a.phi', 'inertia7a.w', 'inertia8.phi', 'inertia8.w', 'inertia8a.phi', 'inertia8a.w', 'inertia9.phi', 'inertia9.w', 'inertia9a.phi', 'inertia9a.w'] 9.29092439985834 9.305554531 9.02973586 Calling exit ...