Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.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.001422/0.001422, allocations: 105.7 kB / 19.74 MB, free: 2.453 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.001575/0.001575, allocations: 221.1 kB / 22.92 MB, free: 5.195 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.298/1.298, allocations: 230.2 MB / 256.2 MB, free: 8.582 MB / 206.1 MB " [Timeout remaining time 179] 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.1961/0.1961, allocations: 46.88 MB / 359.3 MB, free: 4.977 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.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_GenerationOfFMUs",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.GenerationOfFMUs,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_GenerationOfFMUs",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.002094/0.002094, allocations: 83.8 kB / 0.494 GB, free: 9.121 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2624, allocations: 65.98 MB / 0.5584 GB, free: 5.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.006803/0.2692, allocations: 5.827 MB / 0.5641 GB, free: 15.38 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003728/0.2729, allocations: 2.376 MB / 0.5664 GB, free: 12.99 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004122/0.2733, allocations: 43.75 kB / 0.5664 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004482/0.2738, allocations: 230 kB / 0.5667 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003183/0.2741, allocations: 182.2 kB / 0.5668 GB, free: 12.54 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008923/0.275, allocations: 0.4908 MB / 0.5673 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009999/0.276, allocations: 1.114 MB / 0.5684 GB, free: 10.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.2765, allocations: 429.3 kB / 0.5688 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004091/0.277, allocations: 374.6 kB / 0.5692 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003986/0.2774, allocations: 394 kB / 0.5695 GB, free: 9.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001099/0.2775, allocations: 96 kB / 0.5696 GB, free: 9.641 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002313/0.2777, allocations: 152 kB / 0.5698 GB, free: 9.492 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001852/0.2779, allocations: 219.2 kB / 0.57 GB, free: 9.277 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003811/0.2783, allocations: 477.6 kB / 0.5705 GB, free: 8.809 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2794, allocations: 1.274 MB / 0.5717 GB, free: 7.531 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2794, allocations: 0 / 0.5717 GB, free: 7.531 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2794, allocations: 0 / 0.5717 GB, free: 7.531 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.2795, allocations: 8 kB / 0.5717 GB, free: 7.523 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001438/0.2809, allocations: 1.164 MB / 0.5728 GB, free: 6.309 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.2809, allocations: 12.03 kB / 0.5729 GB, free: 6.297 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001421/0.2811, allocations: 135.9 kB / 0.573 GB, free: 6.156 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.2813, allocations: 120.2 kB / 0.5731 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008361/0.2822, allocations: 0.6062 MB / 0.5737 GB, free: 5.391 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.2822, allocations: 66 kB / 0.5737 GB, free: 5.324 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.2823, allocations: 95.95 kB / 0.5738 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001311/0.2836, allocations: 0.8853 MB / 0.5747 GB, free: 4.285 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.2837, allocations: 4 kB / 0.5747 GB, free: 4.281 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.359e-05/0.2837, allocations: 43.94 kB / 0.5748 GB, free: 4.238 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.085e-05/0.2837, allocations: 24 kB / 0.5748 GB, free: 4.215 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.2847, allocations: 0.5229 MB / 0.5753 GB, free: 3.688 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.2881, allocations: 3.609 MB / 0.5788 GB, free: 15.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.2885, allocations: 210.6 kB / 0.579 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.2887, allocations: 92.81 kB / 0.5791 GB, free: 15.61 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.2889, allocations: 251.3 kB / 0.5793 GB, free: 15.31 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.2889, allocations: 30.56 kB / 0.5794 GB, free: 15.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 1.483e-06/0.2889, allocations: 0 / 0.5794 GB, free: 15.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00217/0.2911, allocations: 1.314 MB / 0.5806 GB, free: 13.86 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.164e-05/0.2912, allocations: 55.34 kB / 0.5807 GB, free: 13.79 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003878/0.2915, allocations: 409.8 kB / 0.5811 GB, free: 13.39 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.2916, allocations: 29.7 kB / 0.5811 GB, free: 13.36 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002869/0.2919, allocations: 483.5 kB / 0.5816 GB, free: 12.88 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.292, allocations: 146.8 kB / 0.5817 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.2921, allocations: 102.2 kB / 0.5818 GB, free: 12.62 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2922, allocations: 358.8 kB / 0.5822 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2924, allocations: 109.1 kB / 0.5823 GB, free: 12.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003403/0.2928, allocations: 310.1 kB / 0.5826 GB, free: 11.77 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005761/0.2933, allocations: 467.6 kB / 0.583 GB, free: 11.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2933, allocations: 0 / 0.583 GB, free: 11.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0008051/0.2942, allocations: 0.5135 MB / 0.5835 GB, free: 10.7 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2942, allocations: 11.98 kB / 0.5835 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.2942, allocations: 4 kB / 0.5835 GB, free: 10.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000163/0.2943, allocations: 40.84 kB / 0.5836 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.2947, allocations: 127.8 kB / 0.5837 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003812/0.2951, allocations: 0.5562 MB / 0.5842 GB, free: 9.938 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001829/0.2953, allocations: 24.12 kB / 0.5843 GB, free: 9.914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.601e-05/0.2953, allocations: 28 kB / 0.5843 GB, free: 9.887 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002564/0.2956, allocations: 232.6 kB / 0.5845 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.378e-05/0.2956, allocations: 55.61 kB / 0.5846 GB, free: 9.598 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005964/0.2962, allocations: 323 kB / 0.5849 GB, free: 9.27 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.2962, allocations: 7.984 kB / 0.5849 GB, free: 9.262 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.2962, allocations: 4 kB / 0.5849 GB, free: 9.258 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.2962, allocations: 4.031 kB / 0.5849 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001372/0.2976, allocations: 1.047 MB / 0.5859 GB, free: 8.133 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2976, allocations: 8.094 kB / 0.5859 GB, free: 8.125 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.298, allocations: 83.89 kB / 0.586 GB, free: 8.043 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000112/0.2981, allocations: 32.78 kB / 0.586 GB, free: 8.008 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.2981, allocations: 15.98 kB / 0.586 GB, free: 7.992 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003731/0.2985, allocations: 0.5407 MB / 0.5866 GB, free: 7.426 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.2985, allocations: 7.922 kB / 0.5866 GB, free: 7.418 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007329/0.2992, allocations: 0.5577 MB / 0.5871 GB, free: 6.82 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.617e-05/0.2993, allocations: 116.8 kB / 0.5872 GB, free: 6.688 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.2993, allocations: 15.98 kB / 0.5872 GB, free: 6.672 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2995, allocations: 8 kB / 0.5872 GB, free: 6.664 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.393e-05/0.2995, allocations: 27.91 kB / 0.5873 GB, free: 6.637 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.2996, allocations: 12.19 kB / 0.5873 GB, free: 6.625 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002615/0.2998, allocations: 271.1 kB / 0.5875 GB, free: 6.363 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2998, allocations: 3.938 kB / 0.5875 GB, free: 6.359 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004834/0.3003, allocations: 127.9 kB / 0.5877 GB, free: 6.234 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.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 (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.3014, allocations: 1.12 MB / 0.5888 GB, free: 5.066 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0005764/0.3019, allocations: 313.3 kB / 0.5891 GB, free: 4.762 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.3019, allocations: 8.125 kB / 0.5891 GB, free: 4.754 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.3022, allocations: 131.8 kB / 0.5892 GB, free: 4.625 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004851/0.3027, allocations: 76.06 kB / 0.5893 GB, free: 4.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00575/0.3084, allocations: 4.853 MB / 0.594 GB, free: 15.42 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005557/0.309, allocations: 0.9563 MB / 0.5949 GB, free: 14.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001643/0.3091, allocations: 56.55 kB / 0.595 GB, free: 14.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.3095, allocations: 291.3 kB / 0.5953 GB, free: 14.09 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3095, allocations: 0 / 0.5953 GB, free: 14.09 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03655/0.346, allocations: 9.49 MB / 0.6045 GB, free: 4.719 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.77/11.12, allocations: 7.922 kB / 0.6045 GB, free: 4.711 MB / 446.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_GenerationOfFMUs_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Rotational_GenerationOfFMUs.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.639402279994101]