Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.00179/0.00179, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002362/0.002362, allocations: 212.7 kB / 23.74 MB, free: 4.66 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.506/1.506, allocations: 230.6 MB / 257.5 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.236/0.236, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 67.89 kB / 0.4931 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3217, allocations: 65.48 MB / 0.557 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00504/0.3267, allocations: 3.093 MB / 0.56 GB, free: 4.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001125/0.3279, allocations: 414.5 kB / 0.5604 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003634/0.3282, allocations: 7.938 kB / 0.5604 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.3285, allocations: 67.31 kB / 0.5605 GB, free: 4.207 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005157/0.329, allocations: 166.5 kB / 0.5607 GB, free: 4.043 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3293, allocations: 103.9 kB / 0.5608 GB, free: 3.941 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.33, allocations: 0.5403 MB / 0.5613 GB, free: 3.398 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002923/0.3303, allocations: 117.2 kB / 0.5614 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000334/0.3307, allocations: 219.2 kB / 0.5616 GB, free: 3.066 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003569/0.331, allocations: 215 kB / 0.5618 GB, free: 2.855 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.3311, allocations: 44 kB / 0.5619 GB, free: 2.812 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.994e-05/0.3312, allocations: 40 kB / 0.5619 GB, free: 2.773 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.833e-05/0.3313, allocations: 87.69 kB / 0.562 GB, free: 2.688 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.3316, allocations: 246.9 kB / 0.5622 GB, free: 2.445 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006525/0.3322, allocations: 0.5347 MB / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.3322, allocations: 0 / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3322, allocations: 0 / 0.5627 GB, free: 1.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.244e-05/0.3322, allocations: 0 / 0.5627 GB, free: 1.914 MB / 398.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.001166/0.3334, allocations: 0.6533 MB / 0.5634 GB, free: 1.223 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.3335, allocations: 8.031 kB / 0.5634 GB, free: 1.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/0.3336, allocations: 90.7 kB / 0.5635 GB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.3337, allocations: 56.61 kB / 0.5635 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.334, allocations: 225.8 kB / 0.5637 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.151e-05/0.3341, allocations: 37.38 kB / 0.5638 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.741e-05/0.3342, allocations: 56.33 kB / 0.5638 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007253/0.3349, allocations: 454.7 kB / 0.5643 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/0.3349, allocations: 19.83 kB / 0.5643 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.318e-05/0.335, allocations: 20 kB / 0.5643 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.335, allocations: 12 kB / 0.5643 GB, free: 200 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004613/0.3354, allocations: 263.7 kB / 0.5646 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002475/0.3379, allocations: 1.644 MB / 0.5662 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.3385, allocations: 411.7 kB / 0.5666 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002494/0.3387, allocations: 151.6 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.3388, allocations: 8 kB / 0.5667 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/0.3388, allocations: 50.5 kB / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.986e-06/0.3388, allocations: 0 / 0.5668 GB, free: 13.49 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007799/0.3396, allocations: 358.6 kB / 0.5671 GB, free: 13.13 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.3398, allocations: 269 kB / 0.5674 GB, free: 12.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002728/0.34, allocations: 245.9 kB / 0.5676 GB, free: 12.56 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.3401, allocations: 33.7 kB / 0.5676 GB, free: 12.52 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.3402, allocations: 256.1 kB / 0.5679 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001615/0.3404, allocations: 186.4 kB / 0.5681 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3405, allocations: 122.6 kB / 0.5682 GB, free: 11.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3407, allocations: 350.9 kB / 0.5685 GB, free: 11.61 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002034/0.3409, allocations: 114 kB / 0.5686 GB, free: 11.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004411/0.3413, allocations: 417.6 kB / 0.569 GB, free: 10.95 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007285/0.3421, allocations: 0.565 MB / 0.5696 GB, free: 10.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.979e-06/0.3421, allocations: 7.938 kB / 0.5696 GB, free: 10.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009716/0.3431, allocations: 0.5715 MB / 0.5701 GB, free: 9.66 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.58e-05/0.3431, allocations: 8 kB / 0.5701 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.3431, allocations: 12 kB / 0.5701 GB, free: 9.641 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/0.3431, allocations: 16.69 kB / 0.5702 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005758/0.3437, allocations: 183.7 kB / 0.5703 GB, free: 9.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.125e-05/0.3437, allocations: 23.98 kB / 0.5704 GB, free: 9.422 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.344, allocations: 67.52 kB / 0.5704 GB, free: 9.355 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.3441, allocations: 36 kB / 0.5705 GB, free: 9.32 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.0002288/0.3443, allocations: 181.5 kB / 0.5706 GB, free: 9.133 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002207/0.3445, allocations: 39.77 kB / 0.5707 GB, free: 9.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.672e-05/0.3446, allocations: 41.7 kB / 0.5707 GB, free: 9.051 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.3447, allocations: 11.94 kB / 0.5707 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.3447, allocations: 0 / 0.5707 GB, free: 9.039 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.3447, allocations: 11.98 kB / 0.5707 GB, free: 9.027 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001112/0.3458, allocations: 384.4 kB / 0.5711 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3458, allocations: 0 / 0.5711 GB, free: 8.609 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.3464, allocations: 123.9 kB / 0.5712 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.3464, allocations: 4 kB / 0.5712 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.3464, allocations: 16 kB / 0.5712 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.086e-06/0.3464, allocations: 11.88 kB / 0.5713 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.3464, allocations: 0 / 0.5713 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001024/0.3475, allocations: 1.091 MB / 0.5723 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.021e-05/0.3475, allocations: 35.69 kB / 0.5724 GB, free: 7.305 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.426e-05/0.3476, allocations: 27.92 kB / 0.5724 GB, free: 7.277 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000414/0.348, allocations: 4 kB / 0.5724 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/0.3481, allocations: 31.89 kB / 0.5724 GB, free: 7.242 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.3481, allocations: 16 kB / 0.5724 GB, free: 7.227 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.3483, allocations: 173.2 kB / 0.5726 GB, free: 7.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3483, allocations: 0 / 0.5726 GB, free: 7.055 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008963/0.3492, allocations: 139.7 kB / 0.5727 GB, free: 6.918 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.00148/0.3507, allocations: 1.64 MB / 0.5743 GB, free: 5.25 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.3513, allocations: 332.7 kB / 0.5746 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3513, allocations: 0 / 0.5746 GB, free: 4.926 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001821/0.3515, allocations: 127.7 kB / 0.5748 GB, free: 4.801 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.3527, allocations: 97.5 kB / 0.5749 GB, free: 4.711 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007483/0.3602, allocations: 5.62 MB / 0.5803 GB, free: 14.71 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.3608, allocations: 0.8274 MB / 0.5812 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00021/0.361, allocations: 52.16 kB / 0.5812 GB, free: 13.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002189/0.3612, allocations: 139.4 kB / 0.5813 GB, free: 13.66 MB / 430.1 MB Notification: Performance of SimCode: time 1.402e-06/0.3612, allocations: 0 / 0.5813 GB, free: 13.66 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03961/0.4009, allocations: 8.856 MB / 0.59 GB, free: 4.977 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.49, allocations: 6.75 kB / 0.59 GB, free: 4.973 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.InitializationConversion.Inertia_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/InitializationConversion/Inertia/Inertia.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.678536219056696]