Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.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.001966/0.001966, allocations: 117.2 kB / 20.44 MB, free: 1.297 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.002408/0.002408, allocations: 216.2 kB / 23.74 MB, free: 4.527 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2366/0.2366, allocations: 46.94 MB / 360.9 MB, free: 4.266 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+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002206/0.002206, allocations: 67.89 kB / 0.4962 GB, free: 7.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3293, allocations: 66.03 MB / 0.5606 GB, free: 4.48 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004704/0.334, allocations: 3.113 MB / 0.5637 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.335, allocations: 410.5 kB / 0.5641 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003453/0.3353, allocations: 11.94 kB / 0.5641 GB, free: 0.9375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.3356, allocations: 63.31 kB / 0.5641 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005343/0.3361, allocations: 170.5 kB / 0.5643 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003809/0.3365, allocations: 99.88 kB / 0.5644 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007462/0.3372, allocations: 0.5403 MB / 0.5649 GB, free: 68 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002993/0.3375, allocations: 125.1 kB / 0.565 GB, free: 15.94 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003294/0.3378, allocations: 207.3 kB / 0.5652 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.3382, allocations: 215 kB / 0.5654 GB, free: 15.53 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.3383, allocations: 40 kB / 0.5655 GB, free: 15.49 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.3384, allocations: 40 kB / 0.5655 GB, free: 15.45 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.776e-05/0.3385, allocations: 95.67 kB / 0.5656 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002986/0.3388, allocations: 250.9 kB / 0.5659 GB, free: 15.11 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.3395, allocations: 0.523 MB / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3395, allocations: 0 / 0.5664 GB, free: 14.59 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3395, allocations: 4 kB / 0.5664 GB, free: 14.58 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.3396, allocations: 0 / 0.5664 GB, free: 14.58 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.001235/0.3408, allocations: 0.6533 MB / 0.567 GB, free: 13.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/0.3409, allocations: 8.031 kB / 0.567 GB, free: 13.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.341, allocations: 86.7 kB / 0.5671 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001122/0.3411, allocations: 56.61 kB / 0.5671 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.3415, allocations: 233.8 kB / 0.5674 GB, free: 13.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.3415, allocations: 33.38 kB / 0.5674 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.3416, allocations: 56.33 kB / 0.5675 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007821/0.3424, allocations: 454.7 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.3424, allocations: 23.75 kB / 0.5679 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3425, allocations: 24 kB / 0.5679 GB, free: 12.87 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.3425, allocations: 12 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004935/0.343, allocations: 254.1 kB / 0.5682 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.3456, allocations: 1.656 MB / 0.5698 GB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.3462, allocations: 399.4 kB / 0.5702 GB, free: 10.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002343/0.3465, allocations: 147.6 kB / 0.5703 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.3465, allocations: 12 kB / 0.5703 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.3465, allocations: 43.05 kB / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.556e-06/0.3465, allocations: 0 / 0.5704 GB, free: 10.17 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008604/0.3474, allocations: 370.2 kB / 0.5707 GB, free: 9.801 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.3476, allocations: 265 kB / 0.571 GB, free: 9.48 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.3479, allocations: 245.9 kB / 0.5712 GB, free: 9.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.928e-05/0.3479, allocations: 37.7 kB / 0.5713 GB, free: 9.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.3481, allocations: 248.7 kB / 0.5715 GB, free: 8.945 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001633/0.3483, allocations: 194.3 kB / 0.5717 GB, free: 8.754 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.3484, allocations: 122.6 kB / 0.5718 GB, free: 8.629 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3486, allocations: 346.8 kB / 0.5721 GB, free: 8.281 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.3488, allocations: 114 kB / 0.5722 GB, free: 8.168 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.3493, allocations: 421.6 kB / 0.5726 GB, free: 7.617 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.35, allocations: 0.5606 MB / 0.5732 GB, free: 6.918 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.07e-05/0.35, allocations: 8 kB / 0.5732 GB, free: 6.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001017/0.351, allocations: 0.5673 MB / 0.5737 GB, free: 6.336 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.051e-05/0.351, allocations: 8.938 kB / 0.5738 GB, free: 6.328 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.241e-05/0.3511, allocations: 12 kB / 0.5738 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.513e-05/0.3511, allocations: 15.94 kB / 0.5738 GB, free: 6.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005925/0.3517, allocations: 187.7 kB / 0.574 GB, free: 6.117 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.1e-05/0.3517, allocations: 23.98 kB / 0.574 GB, free: 6.094 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003392/0.3521, allocations: 67.52 kB / 0.574 GB, free: 6.027 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.3521, allocations: 32 kB / 0.5741 GB, free: 5.996 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.0002701/0.3524, allocations: 185.5 kB / 0.5743 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/0.3526, allocations: 43.77 kB / 0.5743 GB, free: 5.762 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000105/0.3527, allocations: 37.7 kB / 0.5743 GB, free: 5.723 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.281e-05/0.3527, allocations: 15.94 kB / 0.5743 GB, free: 5.707 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.3527, allocations: 4 kB / 0.5744 GB, free: 5.703 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.3527, allocations: 3.984 kB / 0.5744 GB, free: 5.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3539, allocations: 384.6 kB / 0.5747 GB, free: 5.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.3539, allocations: 8 kB / 0.5747 GB, free: 5.273 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/0.3545, allocations: 123.9 kB / 0.5748 GB, free: 5.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-05/0.3545, allocations: 4 kB / 0.5749 GB, free: 5.148 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.3546, allocations: 16 kB / 0.5749 GB, free: 5.133 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.241e-05/0.3546, allocations: 11.88 kB / 0.5749 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3546, allocations: 3.938 kB / 0.5749 GB, free: 5.117 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.3556, allocations: 1.09 MB / 0.5759 GB, free: 4 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3558, allocations: 43.67 kB / 0.576 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.81e-05/0.3558, allocations: 15.94 kB / 0.576 GB, free: 3.941 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/0.3563, allocations: 12 kB / 0.576 GB, free: 3.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.3563, allocations: 27.94 kB / 0.576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.3563, allocations: 15.98 kB / 0.5761 GB, free: 3.887 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001818/0.3565, allocations: 169.2 kB / 0.5762 GB, free: 3.719 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3565, allocations: 0 / 0.5762 GB, free: 3.719 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009/0.3574, allocations: 143.7 kB / 0.5764 GB, free: 3.578 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.001445/0.3589, allocations: 1.636 MB / 0.578 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.3596, allocations: 336 kB / 0.5783 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3596, allocations: 0 / 0.5783 GB, free: 1.586 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.3598, allocations: 117.4 kB / 0.5784 GB, free: 1.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.3611, allocations: 98.11 kB / 0.5785 GB, free: 1.379 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007916/0.369, allocations: 5.616 MB / 0.584 GB, free: 11.38 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.3696, allocations: 0.8235 MB / 0.5848 GB, free: 10.53 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002229/0.3698, allocations: 52.16 kB / 0.5848 GB, free: 10.48 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.3701, allocations: 139.4 kB / 0.585 GB, free: 10.34 MB / 430.1 MB Notification: Performance of SimCode: time 1.533e-06/0.3701, allocations: 0 / 0.585 GB, free: 10.34 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04339/0.4135, allocations: 8.867 MB / 0.5936 GB, free: 1.645 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.97/12.39, allocations: 10.69 kB / 0.5936 GB, free: 1.637 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.1.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.591473502106965]