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.001416/0.001416, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.001565/0.001565, allocations: 212.6 kB / 24.51 MB, free: 3.941 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 7.973 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.2258/0.2258, allocations: 44.94 MB / 359.6 MB, free: 6.098 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",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.002106/0.002106, allocations: 63.89 kB / 0.4938 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3367, allocations: 65.47 MB / 0.5577 GB, free: 7.352 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004476/0.3411, allocations: 2.816 MB / 0.5605 GB, free: 4.734 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001166/0.3423, allocations: 410.5 kB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.3426, allocations: 11.94 kB / 0.5609 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.3428, allocations: 63.3 kB / 0.5609 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003982/0.3432, allocations: 170.5 kB / 0.5611 GB, free: 4.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3435, allocations: 99.88 kB / 0.5612 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006322/0.3441, allocations: 0.5481 MB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.3444, allocations: 113.2 kB / 0.5618 GB, free: 3.328 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003032/0.3447, allocations: 211.3 kB / 0.562 GB, free: 3.121 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.345, allocations: 215 kB / 0.5622 GB, free: 2.91 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.392e-05/0.3451, allocations: 44 kB / 0.5623 GB, free: 2.867 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.612e-05/0.3451, allocations: 40 kB / 0.5623 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.969e-05/0.3452, allocations: 95.64 kB / 0.5624 GB, free: 2.734 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002337/0.3455, allocations: 207.1 kB / 0.5626 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006466/0.3461, allocations: 0.5347 MB / 0.5631 GB, free: 1.996 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.3461, allocations: 0 / 0.5631 GB, free: 1.996 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3461, allocations: 3.938 kB / 0.5631 GB, free: 1.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.204e-05/0.3461, allocations: 0 / 0.5631 GB, free: 1.992 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.001086/0.3472, allocations: 0.6532 MB / 0.5638 GB, free: 1.301 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3473, allocations: 16.03 kB / 0.5638 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.589e-05/0.3473, allocations: 9.188 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.397e-05/0.3474, allocations: 86.72 kB / 0.5639 GB, free: 1.184 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3475, allocations: 60.59 kB / 0.5639 GB, free: 1.125 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003486/0.3478, allocations: 217.8 kB / 0.5641 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.625e-05/0.3479, allocations: 37.38 kB / 0.5642 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-05/0.348, allocations: 60.31 kB / 0.5642 GB, free: 0.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.3487, allocations: 462.4 kB / 0.5647 GB, free: 312 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/0.3487, allocations: 7.953 kB / 0.5647 GB, free: 304 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.905e-05/0.3488, allocations: 20 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/0.3488, allocations: 12 kB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004372/0.3492, allocations: 263.7 kB / 0.565 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002493/0.3517, allocations: 1.57 MB / 0.5665 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.3523, allocations: 399.8 kB / 0.5669 GB, free: 13.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002187/0.3526, allocations: 151.7 kB / 0.567 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.317e-05/0.3526, allocations: 11.98 kB / 0.567 GB, free: 13.7 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.3526, allocations: 42.5 kB / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 3.156e-06/0.3526, allocations: 0 / 0.5671 GB, free: 13.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008407/0.3535, allocations: 361.2 kB / 0.5674 GB, free: 13.29 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001615/0.3536, allocations: 269 kB / 0.5677 GB, free: 12.96 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3539, allocations: 245.9 kB / 0.5679 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.3539, allocations: 37.7 kB / 0.5679 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.3541, allocations: 252.7 kB / 0.5682 GB, free: 12.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3543, allocations: 190.4 kB / 0.5684 GB, free: 12.24 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/0.3545, allocations: 118.6 kB / 0.5685 GB, free: 12.12 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3546, allocations: 346.8 kB / 0.5688 GB, free: 11.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.3548, allocations: 114 kB / 0.5689 GB, free: 11.66 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.3553, allocations: 421.6 kB / 0.5693 GB, free: 11.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000731/0.356, allocations: 0.5659 MB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.356, allocations: 4 kB / 0.5699 GB, free: 10.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.000969/0.357, allocations: 0.5714 MB / 0.5704 GB, free: 9.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.743e-05/0.357, allocations: 12 kB / 0.5704 GB, free: 9.809 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.357, allocations: 8 kB / 0.5705 GB, free: 9.801 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-05/0.3571, allocations: 19.94 kB / 0.5705 GB, free: 9.781 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006329/0.3577, allocations: 179.7 kB / 0.5706 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.3577, allocations: 24.45 kB / 0.5707 GB, free: 9.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.3581, allocations: 71.52 kB / 0.5707 GB, free: 9.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.3581, allocations: 28 kB / 0.5708 GB, free: 9.484 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.0002638/0.3584, allocations: 193.4 kB / 0.571 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.3586, allocations: 47.7 kB / 0.571 GB, free: 9.238 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.3587, allocations: 41.64 kB / 0.571 GB, free: 9.195 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/0.3587, allocations: 4 kB / 0.571 GB, free: 9.191 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/0.3587, allocations: 4 kB / 0.571 GB, free: 9.188 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.928e-06/0.3587, allocations: 7.984 kB / 0.5711 GB, free: 9.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001093/0.3598, allocations: 352.5 kB / 0.5714 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3598, allocations: 4 kB / 0.5714 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006035/0.3604, allocations: 127.9 kB / 0.5715 GB, free: 8.664 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.336e-06/0.3604, allocations: 4 kB / 0.5715 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.094e-05/0.3605, allocations: 19.92 kB / 0.5715 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.221e-06/0.3605, allocations: 4 kB / 0.5715 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3605, allocations: 4 kB / 0.5715 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.3616, allocations: 1.091 MB / 0.5726 GB, free: 7.516 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.3616, allocations: 35.69 kB / 0.5726 GB, free: 7.48 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.73e-05/0.3617, allocations: 19.92 kB / 0.5727 GB, free: 7.461 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004027/0.3621, allocations: 11.94 kB / 0.5727 GB, free: 7.449 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.3622, allocations: 31.89 kB / 0.5727 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.394e-05/0.3622, allocations: 19.98 kB / 0.5727 GB, free: 7.398 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001788/0.3624, allocations: 177.2 kB / 0.5729 GB, free: 7.223 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3624, allocations: 0 / 0.5729 GB, free: 7.223 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008719/0.3632, allocations: 139.7 kB / 0.573 GB, free: 7.086 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.001334/0.3646, allocations: 1.634 MB / 0.5746 GB, free: 5.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006497/0.3652, allocations: 333.3 kB / 0.5749 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3652, allocations: 0 / 0.5749 GB, free: 5.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3654, allocations: 125.3 kB / 0.5751 GB, free: 4.98 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/0.3667, allocations: 99.16 kB / 0.5752 GB, free: 4.891 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007563/0.3742, allocations: 5.604 MB / 0.5806 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.3745, allocations: 228.3 kB / 0.5808 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001843/0.3747, allocations: 48.16 kB / 0.5809 GB, free: 14.61 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.3749, allocations: 143.4 kB / 0.581 GB, free: 14.47 MB / 430.1 MB Notification: Performance of SimCode: time 1.392e-06/0.3749, allocations: 0 / 0.581 GB, free: 14.47 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03544/0.4103, allocations: 8.969 MB / 0.5898 GB, free: 5.73 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.56, allocations: 0 / 0.5898 GB, free: 5.73 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.985909812967293]