Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove",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.001356/0.001356, allocations: 103.9 kB / 16.4 MB, free: 6.5 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.001402/0.001402, allocations: 189.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2139/0.2139, allocations: 43.52 MB / 314.1 MB, free: 472 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.91 kB / 441.3 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1166, allocations: 57.79 MB / 499.1 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01001/0.1267, allocations: 7.511 MB / 0.4947 GB, free: 4.797 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006727/0.1334, allocations: 3.342 MB / 0.498 GB, free: 1.445 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.1348, allocations: 35.88 kB / 0.498 GB, free: 1.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.137, allocations: 0.7937 MB / 0.4988 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.1406, allocations: 1.319 MB / 0.5001 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.1421, allocations: 0.5301 MB / 0.5006 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00368/0.1458, allocations: 2.582 MB / 0.5031 GB, free: 12.17 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.1477, allocations: 1.237 MB / 0.5043 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.1489, allocations: 0.7861 MB / 0.5051 GB, free: 10.13 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.1506, allocations: 1.129 MB / 0.5062 GB, free: 8.996 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.151, allocations: 140 kB / 0.5063 GB, free: 8.859 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.1531, allocations: 0.936 MB / 0.5072 GB, free: 7.922 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001262/0.1544, allocations: 1.024 MB / 0.5082 GB, free: 6.895 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001789/0.1562, allocations: 1.234 MB / 0.5094 GB, free: 5.652 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.1618, allocations: 4.075 MB / 0.5134 GB, free: 1.562 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1619, allocations: 7.938 kB / 0.5134 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1619, allocations: 0 / 0.5134 GB, free: 1.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001505/0.162, allocations: 0 / 0.5134 GB, free: 1.555 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.007161/0.1692, allocations: 2.972 MB / 0.5163 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.1693, allocations: 15.89 kB / 0.5163 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/0.1703, allocations: 458.5 kB / 0.5168 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006188/0.1765, allocations: 1.662 MB / 0.5184 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003706/0.1802, allocations: 1.8 MB / 0.5202 GB, free: 10.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.1804, allocations: 127.4 kB / 0.5203 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005289/0.1809, allocations: 159.8 kB / 0.5204 GB, free: 10.26 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.1919, allocations: 6.468 MB / 0.5267 GB, free: 3.258 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001436/0.1921, allocations: 31.73 kB / 0.5268 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005343/0.1927, allocations: 87.89 kB / 0.5269 GB, free: 3.141 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002856/0.1956, allocations: 1.437 MB / 0.5283 GB, free: 1.699 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2521/0.4477, allocations: 5.719 MB / 0.5338 GB, free: 35.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03119/0.479, allocations: 26.74 MB / 0.56 GB, free: 16.69 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004421/0.4834, allocations: 2.139 MB / 0.562 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001407/0.4849, allocations: 1.043 MB / 0.5631 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002064/0.4851, allocations: 178.5 kB / 0.5632 GB, free: 14.97 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.4852, allocations: 51.2 kB / 0.5633 GB, free: 14.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=100): time 4.428e-06/0.4852, allocations: 0 / 0.5633 GB, free: 14.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=112): time 0.01538/0.5006, allocations: 6.429 MB / 0.5696 GB, free: 11.75 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5006, allocations: 136.8 kB / 0.5697 GB, free: 11.59 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003491/0.5041, allocations: 2.921 MB / 0.5725 GB, free: 10.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.5044, allocations: 40.41 kB / 0.5726 GB, free: 10.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008453/0.5052, allocations: 2.103 MB / 0.5746 GB, free: 8.172 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003321/0.5055, allocations: 459.9 kB / 0.5751 GB, free: 7.805 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009071/0.5065, allocations: 0.8927 MB / 0.576 GB, free: 7.289 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.368e-05/0.5065, allocations: 301.1 kB / 0.5762 GB, free: 6.992 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.5082, allocations: 1.415 MB / 0.5776 GB, free: 6.184 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002628/0.5108, allocations: 4.298 MB / 0.5818 GB, free: 444 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007115/0.5179, allocations: 6.187 MB / 0.5879 GB, free: 8.816 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.582e-05/0.5181, allocations: 28 kB / 0.5879 GB, free: 8.789 MB / 430.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.01046/0.5285, allocations: 5.484 MB / 0.5932 GB, free: 3.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.404e-05/0.5287, allocations: 56.02 kB / 0.5933 GB, free: 3.242 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.5288, allocations: 105.7 kB / 0.5934 GB, free: 3.141 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001436/0.529, allocations: 132 kB / 0.5935 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004579/0.5335, allocations: 1.216 MB / 0.5947 GB, free: 1.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001698/0.5337, allocations: 203.2 kB / 0.5949 GB, free: 1.594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003227/0.537, allocations: 243.3 kB / 0.5951 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005933/0.5376, allocations: 280 kB / 0.5954 GB, free: 1.086 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 466 * Number of states: 0 () * Number of discrete variables: 18 (world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],ActuatedRevolute1.cylinderColor[3],ActuatedRevolute1.cylinderColor[2],ActuatedRevolute1.cylinderColor[1],Body1.sphereColor[3],Body1.sphereColor[2],Body1.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (553): * Single equations (assignments): 550 * Array equations: 3 * 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.0025/0.5401, allocations: 1.398 MB / 0.5968 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005677/0.5407, allocations: 244.8 kB / 0.597 GB, free: 15.44 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002159/0.5429, allocations: 1.23 MB / 0.5982 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/0.5429, allocations: 12 kB / 0.5982 GB, free: 14.19 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.5429, allocations: 7.922 kB / 0.5982 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.5429, allocations: 11.98 kB / 0.5982 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008807/0.5518, allocations: 4.566 MB / 0.6027 GB, free: 9.512 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.497e-05/0.5518, allocations: 4 kB / 0.6027 GB, free: 9.508 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001946/0.5538, allocations: 367.8 kB / 0.603 GB, free: 9.148 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-05/0.5538, allocations: 12 kB / 0.6031 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.737e-05/0.5539, allocations: 27.98 kB / 0.6031 GB, free: 9.109 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.5539, allocations: 8 kB / 0.6031 GB, free: 9.102 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.381e-05/0.5539, allocations: 12.5 kB / 0.6031 GB, free: 9.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.5565, allocations: 2.152 MB / 0.6052 GB, free: 6.871 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009979/0.5575, allocations: 453.7 kB / 0.6056 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002388/0.5578, allocations: 31.98 kB / 0.6057 GB, free: 6.375 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009162/0.5587, allocations: 55.36 kB / 0.6057 GB, free: 6.324 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5589, allocations: 67.81 kB / 0.6058 GB, free: 6.258 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.671e-05/0.559, allocations: 36.27 kB / 0.6058 GB, free: 6.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002732/0.5617, allocations: 1.835 MB / 0.6076 GB, free: 4.383 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5617, allocations: 0 / 0.6076 GB, free: 4.383 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003149/0.5649, allocations: 0.6236 MB / 0.6082 GB, free: 3.762 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (90): * Single equations (assignments): 87 * Array equations: 3 * 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.00302/0.5679, allocations: 2.79 MB / 0.6109 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005212/0.5731, allocations: 3.273 MB / 0.6141 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.5732, allocations: 0.9375 kB / 0.6141 GB, free: 13.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.5743, allocations: 0.7953 MB / 0.6149 GB, free: 12.85 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/0.5762, allocations: 268.8 kB / 0.6152 GB, free: 12.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05197/0.6282, allocations: 29.81 MB / 0.6443 GB, free: 10.8 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003386/0.6317, allocations: 2.218 MB / 0.6464 GB, free: 8.551 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003568/0.6353, allocations: 1.457 MB / 0.6479 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/0.6372, allocations: 1.085 MB / 0.6489 GB, free: 6.004 MB / 494.1 MB Notification: Performance of SimCode: time 9.41e-07/0.6372, allocations: 0 / 0.6489 GB, free: 6.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08427/0.7215, allocations: 42.09 MB / 0.69 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.06/17.78, allocations: 3.984 kB / 0.69 GB, free: 11.91 MB / 0.5294 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches