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.00132/0.00132, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.00156/0.00156, allocations: 211.8 kB / 24.51 MB, free: 3.918 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.478/1.478, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.2352/0.2352, allocations: 46.97 MB / 361.7 MB, free: 4.016 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.002046/0.002046, allocations: 63.91 kB / 0.4969 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.325, allocations: 66.03 MB / 0.5613 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.InitializationConversion.Inertia): time 0.004435/0.3295, allocations: 2.818 MB / 0.5641 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009303/0.3304, allocations: 406.5 kB / 0.5645 GB, free: 1 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001949/0.3306, allocations: 15.94 kB / 0.5645 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001451/0.3307, allocations: 67.31 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003851/0.3311, allocations: 166.5 kB / 0.5647 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.3314, allocations: 99.86 kB / 0.5648 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005851/0.332, allocations: 0.5442 MB / 0.5654 GB, free: 112 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002726/0.3322, allocations: 113.3 kB / 0.5655 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002959/0.3325, allocations: 211.2 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.3328, allocations: 219 kB / 0.5659 GB, free: 15.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 6.185e-05/0.3329, allocations: 40 kB / 0.5659 GB, free: 15.54 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.071e-05/0.333, allocations: 40 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.127e-05/0.3331, allocations: 95.69 kB / 0.566 GB, free: 15.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.3333, allocations: 211.1 kB / 0.5662 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006008/0.3339, allocations: 0.5309 MB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3339, allocations: 0 / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.3339, allocations: 3.938 kB / 0.5668 GB, free: 14.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.676e-05/0.3339, allocations: 4 kB / 0.5668 GB, free: 14.66 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.001098/0.335, allocations: 0.6494 MB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.335, allocations: 8.031 kB / 0.5674 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.62e-05/0.3351, allocations: 13.19 kB / 0.5674 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.104e-05/0.3352, allocations: 86.7 kB / 0.5675 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.357e-05/0.3353, allocations: 56.55 kB / 0.5676 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3356, allocations: 229.8 kB / 0.5678 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.078e-05/0.3356, allocations: 33.38 kB / 0.5678 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.86e-05/0.3357, allocations: 56.33 kB / 0.5679 GB, free: 13.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007446/0.3365, allocations: 466.4 kB / 0.5683 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/0.3365, allocations: 11.89 kB / 0.5683 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.485e-05/0.3365, allocations: 23.98 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.3366, allocations: 15.98 kB / 0.5684 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004387/0.337, allocations: 255.7 kB / 0.5686 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.3394, allocations: 1.562 MB / 0.5701 GB, free: 11.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005763/0.3399, allocations: 407.8 kB / 0.5705 GB, free: 10.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000215/0.3402, allocations: 147.7 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3402, allocations: 4 kB / 0.5707 GB, free: 10.38 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.747e-05/0.3402, allocations: 46.5 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=42): time 5.661e-06/0.3402, allocations: 3.984 kB / 0.5707 GB, free: 10.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=42): time 0.000786/0.341, allocations: 365.2 kB / 0.5711 GB, free: 9.953 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000156/0.3412, allocations: 269 kB / 0.5713 GB, free: 9.629 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002845/0.3414, allocations: 253.9 kB / 0.5716 GB, free: 9.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.737e-05/0.3415, allocations: 29.7 kB / 0.5716 GB, free: 9.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001792/0.3416, allocations: 256.2 kB / 0.5718 GB, free: 9.086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.3418, allocations: 186.4 kB / 0.572 GB, free: 8.902 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.342, allocations: 110.6 kB / 0.5721 GB, free: 8.789 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001707/0.3421, allocations: 350.8 kB / 0.5724 GB, free: 8.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/0.3423, allocations: 122.4 kB / 0.5726 GB, free: 8.316 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/0.3428, allocations: 417.6 kB / 0.573 GB, free: 7.77 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007182/0.3435, allocations: 0.5693 MB / 0.5735 GB, free: 7.062 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/0.3435, allocations: 4 kB / 0.5735 GB, free: 7.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009417/0.3445, allocations: 0.5641 MB / 0.5741 GB, free: 6.488 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.3445, allocations: 12 kB / 0.5741 GB, free: 6.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3445, allocations: 15.98 kB / 0.5741 GB, free: 6.461 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.061e-05/0.3445, allocations: 15.94 kB / 0.5741 GB, free: 6.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.3451, allocations: 179.7 kB / 0.5743 GB, free: 6.27 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.648e-05/0.3451, allocations: 19.92 kB / 0.5743 GB, free: 6.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.3454, allocations: 68.14 kB / 0.5744 GB, free: 6.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.3455, allocations: 32 kB / 0.5744 GB, free: 6.152 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.0002398/0.3457, allocations: 193.4 kB / 0.5746 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.3459, allocations: 47.75 kB / 0.5746 GB, free: 5.906 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.244e-05/0.346, allocations: 45.64 kB / 0.5747 GB, free: 5.859 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.346, allocations: 8 kB / 0.5747 GB, free: 5.852 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.165e-05/0.3461, allocations: 8 kB / 0.5747 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.3461, allocations: 0 / 0.5747 GB, free: 5.844 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001074/0.3471, allocations: 356.4 kB / 0.575 GB, free: 5.453 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.3471, allocations: 4 kB / 0.575 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005905/0.3477, allocations: 123.9 kB / 0.5751 GB, free: 5.328 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.809e-06/0.3477, allocations: 4 kB / 0.5752 GB, free: 5.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.175e-05/0.3478, allocations: 15.94 kB / 0.5752 GB, free: 5.309 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/0.3478, allocations: 4 kB / 0.5752 GB, free: 5.305 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.3478, allocations: 15.86 kB / 0.5752 GB, free: 5.289 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009798/0.3488, allocations: 1.088 MB / 0.5762 GB, free: 4.176 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.622e-05/0.3489, allocations: 35.69 kB / 0.5763 GB, free: 4.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.704e-05/0.3489, allocations: 19.94 kB / 0.5763 GB, free: 4.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.3493, allocations: 8 kB / 0.5763 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.635e-05/0.3494, allocations: 31.89 kB / 0.5763 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.3494, allocations: 15.98 kB / 0.5764 GB, free: 4.066 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001771/0.3496, allocations: 169.2 kB / 0.5765 GB, free: 3.898 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3496, allocations: 0 / 0.5765 GB, free: 3.898 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0009099/0.3505, allocations: 139.7 kB / 0.5766 GB, free: 3.762 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.001365/0.3519, allocations: 1.636 MB / 0.5782 GB, free: 2.098 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0006554/0.3525, allocations: 341 kB / 0.5786 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3525, allocations: 0 / 0.5786 GB, free: 1.766 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001815/0.3527, allocations: 123.7 kB / 0.5787 GB, free: 1.645 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.354, allocations: 101.6 kB / 0.5788 GB, free: 1.555 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006986/0.361, allocations: 5.596 MB / 0.5843 GB, free: 11.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.3612, allocations: 220.3 kB / 0.5845 GB, free: 11.34 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.3614, allocations: 56.14 kB / 0.5845 GB, free: 11.28 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001918/0.3616, allocations: 143.3 kB / 0.5847 GB, free: 11.14 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3616, allocations: 0 / 0.5847 GB, free: 11.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03332/0.3949, allocations: 8.959 MB / 0.5934 GB, free: 2.414 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.54, allocations: 6.641 kB / 0.5934 GB, free: 2.41 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.863083595992066]