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.001696/0.001696, allocations: 110 kB / 20.43 MB, free: 1.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.002034/0.002034, allocations: 213.1 kB / 23.74 MB, free: 4.66 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.575/1.575, allocations: 230.5 MB / 257.4 MB, free: 7.988 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.2513/0.2513, allocations: 46.93 MB / 360.8 MB, free: 4.184 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002561/0.002561, allocations: 75.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3414/0.344, allocations: 66.09 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004549/0.3486, allocations: 3.086 MB / 0.5637 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009678/0.3495, allocations: 418.5 kB / 0.5641 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002148/0.3497, allocations: 11.94 kB / 0.5642 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.3499, allocations: 63.31 kB / 0.5642 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.3503, allocations: 170.5 kB / 0.5644 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.3505, allocations: 99.86 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000647/0.3512, allocations: 0.5403 MB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003046/0.3515, allocations: 117.2 kB / 0.5651 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000305/0.3518, allocations: 211.4 kB / 0.5653 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.3521, allocations: 219 kB / 0.5655 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.022e-05/0.3522, allocations: 40 kB / 0.5656 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.265e-05/0.3522, allocations: 40 kB / 0.5656 GB, free: 15.28 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.3523, allocations: 99.67 kB / 0.5657 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002753/0.3526, allocations: 242.8 kB / 0.5659 GB, free: 14.94 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006487/0.3533, allocations: 0.5308 MB / 0.5664 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.3533, allocations: 3.938 kB / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3533, allocations: 0 / 0.5665 GB, free: 14.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.3533, allocations: 4 kB / 0.5665 GB, free: 14.4 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.00104/0.3543, allocations: 0.6494 MB / 0.5671 GB, free: 13.71 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.3544, allocations: 12.03 kB / 0.5671 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.319e-05/0.3545, allocations: 86.7 kB / 0.5672 GB, free: 13.61 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.073e-05/0.3546, allocations: 56.61 kB / 0.5672 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003398/0.3549, allocations: 226.7 kB / 0.5675 GB, free: 13.31 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3549, allocations: 37.38 kB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.794e-05/0.355, allocations: 52.33 kB / 0.5675 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007175/0.3557, allocations: 458.7 kB / 0.568 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.825e-05/0.3558, allocations: 19.88 kB / 0.568 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.571e-05/0.3558, allocations: 16 kB / 0.568 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.305e-05/0.3558, allocations: 16 kB / 0.568 GB, free: 12.69 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004436/0.3563, allocations: 267.6 kB / 0.5683 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.3588, allocations: 1.644 MB / 0.5699 GB, free: 10.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005679/0.3594, allocations: 403.4 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.3596, allocations: 143.7 kB / 0.5704 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.3596, allocations: 12.53 kB / 0.5704 GB, free: 10.05 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.3597, allocations: 50.5 kB / 0.5705 GB, free: 9.988 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.725e-06/0.3597, allocations: 0 / 0.5705 GB, free: 9.988 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.000782/0.3604, allocations: 358.8 kB / 0.5708 GB, free: 9.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001642/0.3606, allocations: 273 kB / 0.5711 GB, free: 9.305 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002872/0.3609, allocations: 249.8 kB / 0.5713 GB, free: 9.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.3609, allocations: 33.7 kB / 0.5713 GB, free: 9.016 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.3611, allocations: 248.2 kB / 0.5716 GB, free: 8.77 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001678/0.3613, allocations: 190.4 kB / 0.5718 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.3614, allocations: 118.6 kB / 0.5719 GB, free: 8.461 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3616, allocations: 350.8 kB / 0.5722 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3618, allocations: 114 kB / 0.5723 GB, free: 7.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000456/0.3623, allocations: 413.6 kB / 0.5727 GB, free: 7.453 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007306/0.363, allocations: 0.5841 MB / 0.5733 GB, free: 6.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.363, allocations: 0 / 0.5733 GB, free: 6.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009402/0.364, allocations: 0.5674 MB / 0.5738 GB, free: 6.156 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.364, allocations: 12 kB / 0.5738 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.364, allocations: 8 kB / 0.5739 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.364, allocations: 19.94 kB / 0.5739 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005861/0.3646, allocations: 180.3 kB / 0.574 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.3647, allocations: 15.94 kB / 0.5741 GB, free: 5.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.365, allocations: 71.5 kB / 0.5741 GB, free: 5.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.365, allocations: 36 kB / 0.5742 GB, free: 5.82 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.0002571/0.3653, allocations: 189.4 kB / 0.5743 GB, free: 5.625 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002105/0.3655, allocations: 39.77 kB / 0.5744 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.858e-05/0.3656, allocations: 41.7 kB / 0.5744 GB, free: 5.543 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.159e-05/0.3656, allocations: 11.94 kB / 0.5744 GB, free: 5.531 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/0.3656, allocations: 4 kB / 0.5744 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.859e-06/0.3656, allocations: 3.984 kB / 0.5744 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3667, allocations: 380.4 kB / 0.5748 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/0.3667, allocations: 7.984 kB / 0.5748 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005622/0.3673, allocations: 119.9 kB / 0.5749 GB, free: 4.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.3673, allocations: 8.109 kB / 0.5749 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.3673, allocations: 16 kB / 0.5749 GB, free: 4.961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.3673, allocations: 7.938 kB / 0.575 GB, free: 4.953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.3673, allocations: 7.938 kB / 0.575 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009657/0.3683, allocations: 1.09 MB / 0.576 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.173e-05/0.3684, allocations: 35.69 kB / 0.5761 GB, free: 3.793 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.23e-05/0.3684, allocations: 19.92 kB / 0.5761 GB, free: 3.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/0.3688, allocations: 12 kB / 0.5761 GB, free: 3.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.168e-05/0.3689, allocations: 31.89 kB / 0.5761 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3689, allocations: 15.94 kB / 0.5761 GB, free: 3.715 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001861/0.3691, allocations: 173.2 kB / 0.5763 GB, free: 3.543 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3691, allocations: 0 / 0.5763 GB, free: 3.543 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009018/0.37, allocations: 139.7 kB / 0.5764 GB, free: 3.406 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.00138/0.3714, allocations: 1.64 MB / 0.578 GB, free: 1.738 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.372, allocations: 325 kB / 0.5783 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.372, allocations: 0 / 0.5783 GB, free: 1.422 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000184/0.3722, allocations: 127.7 kB / 0.5785 GB, free: 1.297 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.3735, allocations: 105.4 kB / 0.5786 GB, free: 1.199 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007398/0.3809, allocations: 5.612 MB / 0.5841 GB, free: 11.21 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.3814, allocations: 0.8235 MB / 0.5849 GB, free: 10.35 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001965/0.3816, allocations: 48.16 kB / 0.5849 GB, free: 10.3 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3818, allocations: 143.4 kB / 0.585 GB, free: 10.16 MB / 430.1 MB Notification: Performance of SimCode: time 1.333e-06/0.3818, allocations: 0 / 0.585 GB, free: 10.16 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0431/0.4249, allocations: 8.863 MB / 0.5937 GB, free: 1.445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.57, allocations: 4 kB / 0.5937 GB, free: 1.441 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.843206848949194]