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.001742/0.001742, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002291/0.002291, allocations: 205.2 kB / 24.52 MB, free: 4.156 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.514/1.514, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2393/0.2393, allocations: 46.93 MB / 361.6 MB, free: 4.305 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 59.91 kB / 0.4969 GB, free: 7.941 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3295, allocations: 66.04 MB / 0.5614 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.00455/0.3341, allocations: 3.091 MB / 0.5644 GB, free: 1.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009598/0.3351, allocations: 406.5 kB / 0.5648 GB, free: 0.8711 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001683/0.3352, allocations: 11.94 kB / 0.5648 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.3354, allocations: 67.31 kB / 0.5649 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.3357, allocations: 170.5 kB / 0.5651 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002494/0.3359, allocations: 99.86 kB / 0.5652 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000616/0.3366, allocations: 0.5482 MB / 0.5657 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000242/0.3368, allocations: 113.1 kB / 0.5658 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002751/0.3371, allocations: 219.3 kB / 0.566 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.3374, allocations: 215 kB / 0.5662 GB, free: 15.44 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.375e-05/0.3374, allocations: 40 kB / 0.5662 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.586e-05/0.3375, allocations: 40 kB / 0.5663 GB, free: 15.36 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.209e-05/0.3376, allocations: 95.69 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002388/0.3378, allocations: 254.8 kB / 0.5666 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005865/0.3384, allocations: 0.5269 MB / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.3384, allocations: 0 / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3384, allocations: 0 / 0.5671 GB, free: 14.49 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3384, allocations: 0 / 0.5671 GB, free: 14.49 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.001047/0.3395, allocations: 0.6533 MB / 0.5678 GB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.3395, allocations: 8.031 kB / 0.5678 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.667e-05/0.3396, allocations: 13.19 kB / 0.5678 GB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.962e-05/0.3396, allocations: 86.7 kB / 0.5679 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.962e-05/0.3397, allocations: 52.61 kB / 0.5679 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.3401, allocations: 233.8 kB / 0.5681 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.924e-05/0.3401, allocations: 45.38 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.3402, allocations: 52.33 kB / 0.5682 GB, free: 13.29 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.3409, allocations: 462.4 kB / 0.5687 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.394e-05/0.3409, allocations: 15.94 kB / 0.5687 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.879e-05/0.341, allocations: 20 kB / 0.5687 GB, free: 12.76 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.341, allocations: 12 kB / 0.5687 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.3414, allocations: 255.7 kB / 0.569 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.3438, allocations: 1.648 MB / 0.5706 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.3443, allocations: 399.7 kB / 0.571 GB, free: 10.3 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002112/0.3445, allocations: 155.6 kB / 0.5711 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.3446, allocations: 8 kB / 0.5711 GB, free: 10.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.729e-05/0.3446, allocations: 42.5 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.3446, allocations: 0 / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007816/0.3454, allocations: 365.8 kB / 0.5715 GB, free: 9.699 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.3455, allocations: 265 kB / 0.5718 GB, free: 9.379 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.3458, allocations: 253.9 kB / 0.572 GB, free: 9.125 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.3459, allocations: 33.64 kB / 0.572 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001849/0.346, allocations: 256.2 kB / 0.5723 GB, free: 8.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001549/0.3462, allocations: 190.9 kB / 0.5725 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001453/0.3463, allocations: 114.6 kB / 0.5726 GB, free: 8.527 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.3465, allocations: 346.8 kB / 0.5729 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002062/0.3467, allocations: 118 kB / 0.573 GB, free: 8.062 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004377/0.3471, allocations: 417.6 kB / 0.5734 GB, free: 7.516 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.3479, allocations: 0.5728 MB / 0.574 GB, free: 6.805 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.3479, allocations: 4 kB / 0.574 GB, free: 6.801 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009583/0.3488, allocations: 0.5716 MB / 0.5745 GB, free: 6.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3488, allocations: 11.94 kB / 0.5745 GB, free: 6.211 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.3489, allocations: 8.875 kB / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.35e-05/0.3489, allocations: 19.94 kB / 0.5746 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.3495, allocations: 179.7 kB / 0.5747 GB, free: 6.008 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.54e-05/0.3495, allocations: 23.92 kB / 0.5748 GB, free: 5.984 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.3498, allocations: 67.52 kB / 0.5748 GB, free: 5.918 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3498, allocations: 32 kB / 0.5749 GB, free: 5.887 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.0002403/0.3501, allocations: 189.5 kB / 0.575 GB, free: 5.691 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002052/0.3503, allocations: 39.77 kB / 0.5751 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.297e-05/0.3504, allocations: 45.64 kB / 0.5751 GB, free: 5.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.424e-06/0.3504, allocations: 4 kB / 0.5751 GB, free: 5.602 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.3504, allocations: 8 kB / 0.5751 GB, free: 5.594 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3504, allocations: 7.984 kB / 0.5751 GB, free: 5.586 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001091/0.3515, allocations: 380.4 kB / 0.5755 GB, free: 5.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.3515, allocations: 4 kB / 0.5755 GB, free: 5.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000584/0.3521, allocations: 123.9 kB / 0.5756 GB, free: 5.047 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/0.3521, allocations: 4 kB / 0.5756 GB, free: 5.043 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.3521, allocations: 19.88 kB / 0.5757 GB, free: 5.023 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.3521, allocations: 4 kB / 0.5757 GB, free: 5.02 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.3522, allocations: 4 kB / 0.5757 GB, free: 5.016 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009421/0.3531, allocations: 1.09 MB / 0.5767 GB, free: 3.898 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.3532, allocations: 43.67 kB / 0.5768 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.3532, allocations: 20.06 kB / 0.5768 GB, free: 3.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004001/0.3536, allocations: 8 kB / 0.5768 GB, free: 3.828 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.3537, allocations: 31.89 kB / 0.5768 GB, free: 3.797 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.256e-05/0.3537, allocations: 15.98 kB / 0.5768 GB, free: 3.781 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001638/0.3539, allocations: 169.2 kB / 0.577 GB, free: 3.613 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3539, allocations: 0 / 0.577 GB, free: 3.613 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008887/0.3548, allocations: 139.7 kB / 0.5771 GB, free: 3.477 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.001374/0.3561, allocations: 1.64 MB / 0.5787 GB, free: 1.809 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006563/0.3568, allocations: 336.3 kB / 0.5791 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3568, allocations: 0 / 0.5791 GB, free: 1.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.357, allocations: 121.2 kB / 0.5792 GB, free: 1.363 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/0.3582, allocations: 100.5 kB / 0.5793 GB, free: 1.27 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007095/0.3653, allocations: 5.62 MB / 0.5848 GB, free: 11.27 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/0.3658, allocations: 0.8274 MB / 0.5856 GB, free: 10.41 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.366, allocations: 56.14 kB / 0.5856 GB, free: 10.36 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002037/0.3662, allocations: 139.4 kB / 0.5857 GB, free: 10.22 MB / 430.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3662, allocations: 0 / 0.5857 GB, free: 10.22 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3996, allocations: 8.883 MB / 0.5944 GB, free: 1.52 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.83, allocations: 14.78 kB / 0.5944 GB, free: 1.508 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: 16.270290785003453]