Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.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.00131/0.00131, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001518/0.001518, allocations: 212.7 kB / 24.52 MB, free: 3.91 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.519/1.519, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.25/0.25, allocations: 46.95 MB / 361.6 MB, free: 3.918 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002304/0.002304, allocations: 79.88 kB / 0.4969 GB, free: 7.551 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3067, allocations: 66.08 MB / 0.5614 GB, free: 4.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004749/0.3114, allocations: 2.805 MB / 0.5642 GB, free: 1.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.3125, allocations: 426.4 kB / 0.5646 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.3128, allocations: 11.94 kB / 0.5646 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001995/0.313, allocations: 63.31 kB / 0.5646 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004883/0.3135, allocations: 166.6 kB / 0.5648 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003228/0.3138, allocations: 103.8 kB / 0.5649 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.3146, allocations: 0.5442 MB / 0.5654 GB, free: 15.93 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003034/0.3149, allocations: 113.2 kB / 0.5655 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003815/0.3153, allocations: 207.4 kB / 0.5657 GB, free: 15.61 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.3156, allocations: 219 kB / 0.566 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.726e-05/0.3157, allocations: 44 kB / 0.566 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.467e-05/0.3158, allocations: 40 kB / 0.566 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.877e-05/0.3159, allocations: 91.69 kB / 0.5661 GB, free: 15.22 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002496/0.3161, allocations: 211.1 kB / 0.5663 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006247/0.3168, allocations: 0.5308 MB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3168, allocations: 0 / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3168, allocations: 3.938 kB / 0.5668 GB, free: 14.48 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.3168, allocations: 4 kB / 0.5668 GB, free: 14.48 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001047/0.3178, allocations: 0.6494 MB / 0.5675 GB, free: 13.79 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3179, allocations: 12.03 kB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.672e-05/0.3179, allocations: 17.12 kB / 0.5675 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.74e-05/0.318, allocations: 86.7 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.944e-05/0.3181, allocations: 56.61 kB / 0.5676 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.3184, allocations: 218.7 kB / 0.5679 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3185, allocations: 41.36 kB / 0.5679 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.3185, allocations: 52.33 kB / 0.5679 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/0.3193, allocations: 458.4 kB / 0.5684 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.3193, allocations: 11.95 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.3194, allocations: 20 kB / 0.5684 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.3194, allocations: 16 kB / 0.5684 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004667/0.3199, allocations: 263.6 kB / 0.5687 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002527/0.3224, allocations: 1.566 MB / 0.5702 GB, free: 10.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.323, allocations: 395.9 kB / 0.5706 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002224/0.3232, allocations: 159.8 kB / 0.5707 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.323e-05/0.3232, allocations: 12 kB / 0.5707 GB, free: 10.19 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.945e-05/0.3233, allocations: 46.5 kB / 0.5708 GB, free: 10.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.985e-06/0.3233, allocations: 0 / 0.5708 GB, free: 10.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008168/0.3241, allocations: 349.1 kB / 0.5711 GB, free: 9.785 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001602/0.3242, allocations: 273 kB / 0.5714 GB, free: 9.457 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.3245, allocations: 246.4 kB / 0.5716 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3246, allocations: 37.7 kB / 0.5717 GB, free: 9.168 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001963/0.3248, allocations: 252.1 kB / 0.5719 GB, free: 8.918 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/0.3249, allocations: 190.4 kB / 0.5721 GB, free: 8.73 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.3251, allocations: 118.6 kB / 0.5722 GB, free: 8.609 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.3253, allocations: 346.8 kB / 0.5725 GB, free: 8.262 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000211/0.3255, allocations: 114 kB / 0.5726 GB, free: 8.148 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3259, allocations: 425.6 kB / 0.573 GB, free: 7.594 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007247/0.3267, allocations: 0.5692 MB / 0.5736 GB, free: 6.887 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/0.3267, allocations: 4 kB / 0.5736 GB, free: 6.883 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009495/0.3276, allocations: 0.5717 MB / 0.5742 GB, free: 6.305 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.562e-05/0.3276, allocations: 8 kB / 0.5742 GB, free: 6.297 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/0.3277, allocations: 8 kB / 0.5742 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.3277, allocations: 20.72 kB / 0.5742 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.3283, allocations: 183.7 kB / 0.5744 GB, free: 6.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.591e-05/0.3283, allocations: 23.92 kB / 0.5744 GB, free: 6.066 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003075/0.3286, allocations: 67.52 kB / 0.5745 GB, free: 6 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.3287, allocations: 36 kB / 0.5745 GB, free: 5.965 MB / 414.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.0002396/0.3289, allocations: 181.5 kB / 0.5747 GB, free: 5.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/0.3291, allocations: 39.77 kB / 0.5747 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.3292, allocations: 45.64 kB / 0.5747 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.3292, allocations: 8 kB / 0.5747 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.3292, allocations: 0 / 0.5747 GB, free: 5.684 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.3292, allocations: 7.984 kB / 0.5748 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.3303, allocations: 364.4 kB / 0.5751 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.3303, allocations: 0 / 0.5751 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006072/0.3309, allocations: 127.8 kB / 0.5752 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/0.3309, allocations: 4 kB / 0.5752 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.771e-05/0.331, allocations: 15.94 kB / 0.5752 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.331, allocations: 4 kB / 0.5752 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.331, allocations: 4 kB / 0.5753 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009987/0.332, allocations: 1.087 MB / 0.5763 GB, free: 4.012 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.3321, allocations: 39.69 kB / 0.5764 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.469e-05/0.3321, allocations: 15.92 kB / 0.5764 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/0.3326, allocations: 16 kB / 0.5764 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.3326, allocations: 31.89 kB / 0.5764 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.332e-05/0.3326, allocations: 12 kB / 0.5764 GB, free: 3.898 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001882/0.3328, allocations: 173.2 kB / 0.5766 GB, free: 3.727 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3328, allocations: 0 / 0.5766 GB, free: 3.727 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008712/0.3337, allocations: 139.7 kB / 0.5767 GB, free: 3.59 MB / 414.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.001351/0.3351, allocations: 1.628 MB / 0.5783 GB, free: 1.934 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006518/0.3357, allocations: 340.8 kB / 0.5786 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.3357, allocations: 0.8125 kB / 0.5786 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.3359, allocations: 128.8 kB / 0.5788 GB, free: 1.477 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.3372, allocations: 107.8 kB / 0.5789 GB, free: 1.383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007104/0.3443, allocations: 5.596 MB / 0.5843 GB, free: 11.4 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/0.3446, allocations: 228.3 kB / 0.5845 GB, free: 11.15 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001837/0.3448, allocations: 48.11 kB / 0.5846 GB, free: 11.11 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002058/0.345, allocations: 143.4 kB / 0.5847 GB, free: 10.97 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.345, allocations: 4 kB / 0.5847 GB, free: 10.96 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03377/0.3787, allocations: 8.963 MB / 0.5935 GB, free: 2.199 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.51, allocations: 7.859 kB / 0.5935 GB, free: 2.191 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.InitializationConversion.Inertia.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.916220407001674]