Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 110.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0012/0.0012, allocations: 187.1 kB / 18.7 MB, free: 4.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2014/0.2014, allocations: 44.18 MB / 336.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 71.88 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 60.83 MB / 0.5184 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01722/0.3357, allocations: 17 MB / 0.535 GB, free: 7.023 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009113/0.3448, allocations: 3.918 MB / 0.5388 GB, free: 3.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003389/0.3483, allocations: 101.9 kB / 0.5389 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0049/0.3532, allocations: 2.172 MB / 0.5411 GB, free: 2.473 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006512/0.3598, allocations: 2.525 MB / 0.5435 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3609, allocations: 294.4 kB / 0.5438 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008844/0.3698, allocations: 6.545 MB / 0.5502 GB, free: 11.49 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004318/0.3741, allocations: 3.34 MB / 0.5535 GB, free: 8.105 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003401/0.3775, allocations: 2.117 MB / 0.5555 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003708/0.3813, allocations: 2.799 MB / 0.5583 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001127/0.3824, allocations: 392 kB / 0.5586 GB, free: 2.789 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.3844, allocations: 0.8037 MB / 0.5594 GB, free: 1.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003017/0.3875, allocations: 2.789 MB / 0.5621 GB, free: 15.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004002/0.3915, allocations: 3.349 MB / 0.5654 GB, free: 11.81 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.4024, allocations: 10.71 MB / 0.5759 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4024, allocations: 0 / 0.5759 GB, free: 1.062 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4024, allocations: 0 / 0.5759 GB, free: 1.062 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004078/0.4028, allocations: 0 / 0.5759 GB, free: 1.062 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01269/0.4156, allocations: 7.049 MB / 0.5828 GB, free: 9.934 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4156, allocations: 8.031 kB / 0.5828 GB, free: 9.926 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002343/0.418, allocations: 1.28 MB / 0.584 GB, free: 8.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/0.4375, allocations: 5.855 MB / 0.5897 GB, free: 2.762 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007991/0.4456, allocations: 3.3 MB / 0.593 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002595/0.4459, allocations: 328 kB / 0.5933 GB, free: 15.07 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00157/0.4474, allocations: 423.6 kB / 0.5937 GB, free: 14.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03032/0.4778, allocations: 18.88 MB / 0.6121 GB, free: 11.03 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001362/0.478, allocations: 39.62 kB / 0.6121 GB, free: 10.99 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001476/0.4795, allocations: 207.7 kB / 0.6123 GB, free: 10.79 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007429/0.4869, allocations: 4.742 MB / 0.617 GB, free: 6.039 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03177/0.5187, allocations: 17.53 MB / 0.6341 GB, free: 4.477 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09005/0.6088, allocations: 60.84 MB / 0.6935 GB, free: 6.078 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01537/0.6242, allocations: 8.43 MB / 0.7017 GB, free: 13.19 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004029/0.6283, allocations: 2.587 MB / 0.7043 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.26/0.8883, allocations: 11.86 MB / 0.7158 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.762e-05/0.8884, allocations: 56 kB / 0.7159 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=321): time 8.946e-06/0.8884, allocations: 0 / 0.7159 GB, free: 162.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=321): time 0.02023/0.9087, allocations: 7.516 MB / 0.7232 GB, free: 161.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/0.9088, allocations: 100.2 kB / 0.7233 GB, free: 161.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01105/0.9198, allocations: 5.677 MB / 0.7289 GB, free: 159.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0004605/0.9203, allocations: 62.17 kB / 0.7289 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003328/0.9237, allocations: 5.071 MB / 0.7339 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001411/0.9251, allocations: 1.204 MB / 0.7351 GB, free: 155.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00444/0.9296, allocations: 1.906 MB / 0.7369 GB, free: 154.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.611e-05/0.9297, allocations: 305.1 kB / 0.7372 GB, free: 153.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005103/0.9348, allocations: 3.204 MB / 0.7403 GB, free: 153 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007435/0.9422, allocations: 8.657 MB / 0.7488 GB, free: 144.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01139/0.9537, allocations: 12.91 MB / 0.7614 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001898/0.9539, allocations: 59.47 kB / 0.7615 GB, free: 134.2 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01788/0.9718, allocations: 11.65 MB / 0.7728 GB, free: 124.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.972, allocations: 84 kB / 0.7729 GB, free: 124.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003163/0.9724, allocations: 192 kB / 0.7731 GB, free: 124.4 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002881/0.9727, allocations: 252 kB / 0.7733 GB, free: 124.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006428/0.9791, allocations: 2.078 MB / 0.7754 GB, free: 122.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003377/0.9795, allocations: 375.5 kB / 0.7757 GB, free: 121.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006867/0.9864, allocations: 1.329 MB / 0.777 GB, free: 120.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001499/0.9879, allocations: 0.5504 MB / 0.7776 GB, free: 119.8 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.005845/0.9937, allocations: 3.706 MB / 0.7812 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009524/0.9947, allocations: 489.5 kB / 0.7817 GB, free: 115.6 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001529/0.9963, allocations: 0.6411 MB / 0.7823 GB, free: 115 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.9964, allocations: 59.11 kB / 0.7823 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-05/0.9964, allocations: 4 kB / 0.7823 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.303e-05/0.9965, allocations: 7.969 kB / 0.7823 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02373/1.02, allocations: 12.63 MB / 0.7947 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-05/1.02, allocations: 19.94 kB / 0.7947 GB, free: 102.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001831/1.022, allocations: 427.4 kB / 0.7951 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-05/1.022, allocations: 20 kB / 0.7951 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003195/1.022, allocations: 63.59 kB / 0.7952 GB, free: 101.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-05/1.023, allocations: 27.92 kB / 0.7952 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.023, allocations: 27.81 kB / 0.7952 GB, free: 101.5 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005165/1.028, allocations: 4.637 MB / 0.7998 GB, free: 96.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001177/1.029, allocations: 0.5605 MB / 0.8003 GB, free: 96.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.03, allocations: 51.98 kB / 0.8004 GB, free: 96.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002164/1.032, allocations: 131.4 kB / 0.8005 GB, free: 95.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004305/1.033, allocations: 172.8 kB / 0.8007 GB, free: 95.72 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002669/1.033, allocations: 106.9 kB / 0.8008 GB, free: 95.62 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005194/1.038, allocations: 3.494 MB / 0.8042 GB, free: 92.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.61e-07/1.038, allocations: 0 / 0.8042 GB, free: 92.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007276/1.045, allocations: 1.983 MB / 0.8061 GB, free: 90.16 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * 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 simulation (225): * Single equations (assignments): 213 * Array equations: 12 * 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.006139/1.052, allocations: 5.311 MB / 0.8113 GB, free: 84.61 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009342/1.061, allocations: 7.349 MB / 0.8185 GB, free: 77.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.061, allocations: 0 / 0.8185 GB, free: 77.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00241/1.063, allocations: 2.001 MB / 0.8204 GB, free: 75.31 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004099/1.068, allocations: 0.6332 MB / 0.821 GB, free: 74.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08933/1.157, allocations: 68.08 MB / 0.8875 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009128/1.166, allocations: 5.419 MB / 0.8928 GB, free: 8.477 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.008613/1.175, allocations: 3.555 MB / 0.8963 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005389/1.18, allocations: 3.323 MB / 0.8995 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of SimCode: time 4.929e-06/1.18, allocations: 0 / 0.8995 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3711/1.551, allocations: 92.66 MB / 0.99 GB, free: 189.4 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.97/24.53, allocations: 5.531 kB / 0.99 GB, free: 189.4 MB / 0.6231 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FixedRotation.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FixedRotation.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches