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.00163/0.00163, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001543/0.001543, allocations: 210.7 kB / 24.53 MB, free: 4.07 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.49/1.49, allocations: 230.5 MB / 258.2 MB, free: 8.043 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.2284/0.2284, allocations: 46.92 MB / 361.6 MB, free: 4.195 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.002513/0.002513, allocations: 75.86 kB / 0.497 GB, free: 7.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3306, allocations: 66.09 MB / 0.5615 GB, free: 4.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004833/0.3354, allocations: 3.085 MB / 0.5645 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001135/0.3365, allocations: 426.4 kB / 0.5649 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003026/0.3368, allocations: 11.94 kB / 0.5649 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001654/0.337, allocations: 67.3 kB / 0.565 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003761/0.3374, allocations: 170.5 kB / 0.5652 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002534/0.3376, allocations: 95.88 kB / 0.5652 GB, free: 480 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006815/0.3383, allocations: 0.5482 MB / 0.5658 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002552/0.3386, allocations: 113.1 kB / 0.5659 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.3389, allocations: 211.3 kB / 0.5661 GB, free: 15.6 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003432/0.3392, allocations: 215 kB / 0.5663 GB, free: 15.39 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.468e-05/0.3393, allocations: 40 kB / 0.5663 GB, free: 15.35 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.3394, allocations: 40 kB / 0.5664 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.3394, allocations: 95.64 kB / 0.5665 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.3397, allocations: 250.9 kB / 0.5667 GB, free: 14.97 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.3403, allocations: 0.531 MB / 0.5672 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.3403, allocations: 4 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3403, allocations: 0 / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.3403, allocations: 0 / 0.5672 GB, free: 14.43 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.001055/0.3414, allocations: 0.6454 MB / 0.5679 GB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3415, allocations: 12.03 kB / 0.5679 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.724e-05/0.3415, allocations: 17.19 kB / 0.5679 GB, free: 13.72 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/0.3416, allocations: 86.7 kB / 0.568 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.717e-05/0.3417, allocations: 56.61 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00033/0.342, allocations: 226.7 kB / 0.5682 GB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.637e-05/0.342, allocations: 37.38 kB / 0.5683 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.507e-05/0.3421, allocations: 52.33 kB / 0.5683 GB, free: 13.24 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007278/0.3428, allocations: 462.4 kB / 0.5688 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.3429, allocations: 15.94 kB / 0.5688 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.006e-05/0.3429, allocations: 16 kB / 0.5688 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.3429, allocations: 12 kB / 0.5688 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000439/0.3434, allocations: 263.7 kB / 0.5691 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002468/0.3458, allocations: 1.648 MB / 0.5707 GB, free: 10.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005793/0.3464, allocations: 411.7 kB / 0.5711 GB, free: 10.24 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002042/0.3466, allocations: 143.7 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.3466, allocations: 8 kB / 0.5712 GB, free: 10.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.656e-05/0.3467, allocations: 50.5 kB / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.707e-06/0.3467, allocations: 0 / 0.5713 GB, free: 10.01 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007939/0.3475, allocations: 358.1 kB / 0.5716 GB, free: 9.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001571/0.3477, allocations: 273 kB / 0.5719 GB, free: 9.324 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.348, allocations: 246.4 kB / 0.5721 GB, free: 9.078 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.784e-05/0.348, allocations: 37.7 kB / 0.5721 GB, free: 9.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.3482, allocations: 252.2 kB / 0.5724 GB, free: 8.785 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001483/0.3483, allocations: 194.4 kB / 0.5725 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/0.3485, allocations: 114.6 kB / 0.5727 GB, free: 8.477 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.3486, allocations: 346.8 kB / 0.573 GB, free: 8.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002059/0.3488, allocations: 117.9 kB / 0.5731 GB, free: 8.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004383/0.3493, allocations: 417.6 kB / 0.5735 GB, free: 7.465 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/0.3501, allocations: 0.5689 MB / 0.5741 GB, free: 6.758 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.3501, allocations: 0 / 0.5741 GB, free: 6.758 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009492/0.351, allocations: 0.5683 MB / 0.5746 GB, free: 6.184 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.351, allocations: 16 kB / 0.5746 GB, free: 6.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.3511, allocations: 8.078 kB / 0.5746 GB, free: 6.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/0.3511, allocations: 23.92 kB / 0.5747 GB, free: 6.137 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.3517, allocations: 171.7 kB / 0.5748 GB, free: 5.969 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.691e-05/0.3517, allocations: 23.91 kB / 0.5748 GB, free: 5.945 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002916/0.352, allocations: 67.52 kB / 0.5749 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.352, allocations: 32 kB / 0.5749 GB, free: 5.848 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.0002335/0.3523, allocations: 189.5 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.3525, allocations: 47.69 kB / 0.5752 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.3526, allocations: 49.64 kB / 0.5752 GB, free: 5.555 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.3526, allocations: 4 kB / 0.5752 GB, free: 5.551 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.358e-06/0.3526, allocations: 4 kB / 0.5752 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3526, allocations: 0 / 0.5752 GB, free: 5.547 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/0.3536, allocations: 384.4 kB / 0.5756 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.3536, allocations: 4 kB / 0.5756 GB, free: 5.125 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000564/0.3542, allocations: 127.8 kB / 0.5757 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.3542, allocations: 0 / 0.5757 GB, free: 5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.68e-05/0.3542, allocations: 19.94 kB / 0.5757 GB, free: 4.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3542, allocations: 8 kB / 0.5757 GB, free: 4.973 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.3542, allocations: 7.984 kB / 0.5757 GB, free: 4.965 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.3553, allocations: 1.09 MB / 0.5768 GB, free: 3.848 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.186e-05/0.3554, allocations: 35.69 kB / 0.5768 GB, free: 3.812 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.334e-05/0.3554, allocations: 15.94 kB / 0.5769 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/0.3558, allocations: 8 kB / 0.5769 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.826e-05/0.3559, allocations: 31.89 kB / 0.5769 GB, free: 3.758 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/0.3559, allocations: 15.98 kB / 0.5769 GB, free: 3.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000175/0.3561, allocations: 173.2 kB / 0.5771 GB, free: 3.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3561, allocations: 0 / 0.5771 GB, free: 3.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008776/0.3569, allocations: 139.7 kB / 0.5772 GB, free: 3.434 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.001304/0.3582, allocations: 1.636 MB / 0.5788 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006601/0.3589, allocations: 333 kB / 0.5791 GB, free: 1.445 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3589, allocations: 3.938 kB / 0.5791 GB, free: 1.441 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.3591, allocations: 124.6 kB / 0.5792 GB, free: 1.32 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.3603, allocations: 94.48 kB / 0.5793 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007046/0.3674, allocations: 5.624 MB / 0.5848 GB, free: 11.23 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005202/0.3679, allocations: 0.8275 MB / 0.5856 GB, free: 10.37 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.3681, allocations: 52.14 kB / 0.5857 GB, free: 10.32 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/0.3683, allocations: 139.4 kB / 0.5858 GB, free: 10.18 MB / 430.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3683, allocations: 0 / 0.5858 GB, free: 10.18 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03272/0.401, allocations: 8.89 MB / 0.5945 GB, free: 1.441 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/12.69, allocations: 11.42 kB / 0.5945 GB, free: 1.434 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: 16.1098741349997]