Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002037/0.002038, allocations: 107.4 kB / 17.03 MB, free: 5.66 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.001935/0.001935, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.354/1.354, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.1937/0.1937, allocations: 43.52 MB / 314.7 MB, free: 480 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.001589/0.001589, allocations: 65.39 kB / 384.2 MB, free: 56.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.0913, allocations: 57.79 MB / 442 MB, free: 6.148 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01404/0.1054, allocations: 13.81 MB / 455.8 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00943/0.1149, allocations: 4.366 MB / 460.1 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.117, allocations: 79.81 kB / 460.2 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007021/0.124, allocations: 3.746 MB / 464 MB, free: 60 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005718/0.1298, allocations: 2.097 MB / 466.1 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.132, allocations: 0.8226 MB / 466.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006492/0.1385, allocations: 4.416 MB / 471.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006874/0.1454, allocations: 4.942 MB / 476.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.1485, allocations: 1.935 MB / 478.2 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003984/0.1525, allocations: 2.601 MB / 480.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001235/0.1538, allocations: 440 kB / 481.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.1565, allocations: 1.155 MB / 482.4 MB, free: 13.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002901/0.1594, allocations: 2.33 MB / 484.7 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005047/0.1645, allocations: 2.762 MB / 487.5 MB, free: 8.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01085/0.1753, allocations: 8.607 MB / 496.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.114e-06/0.1754, allocations: 0 / 496.1 MB, free: 15.81 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1754, allocations: 4 kB / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004017/0.1758, allocations: 4 kB / 496.1 MB, free: 15.8 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02232/0.1982, allocations: 6.443 MB / 0.4907 GB, free: 9.281 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.1982, allocations: 15.97 kB / 0.4908 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007005/0.2052, allocations: 1.983 MB / 0.4927 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006826/0.2121, allocations: 2.831 MB / 0.4955 GB, free: 4.383 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002449/0.2124, allocations: 307.8 kB / 0.4957 GB, free: 4.078 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001209/0.2136, allocations: 407.7 kB / 0.4961 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02435/0.2379, allocations: 12.89 MB / 0.5087 GB, free: 6.051 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001577/0.2381, allocations: 51.5 kB / 0.5088 GB, free: 6 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/0.2387, allocations: 195.8 kB / 0.509 GB, free: 5.809 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004151/0.2429, allocations: 2.367 MB / 0.5113 GB, free: 3.434 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02332/0.2662, allocations: 11.81 MB / 0.5228 GB, free: 7.609 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.225/0.4912, allocations: 47.9 MB / 0.5696 GB, free: 52.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/0.508, allocations: 5.702 MB / 0.5751 GB, free: 49.61 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003838/0.5119, allocations: 3.603 MB / 0.5787 GB, free: 47.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000847/0.5127, allocations: 0.705 MB / 0.5794 GB, free: 47.14 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.5128, allocations: 55.41 kB / 0.5794 GB, free: 47.09 MB / 414.1 MB Notification: Performance of pre-optimization done (n=224): time 5.48e-06/0.5128, allocations: 4 kB / 0.5794 GB, free: 47.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=255): time 0.06459/0.5774, allocations: 28.49 MB / 0.6072 GB, free: 19.71 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.5775, allocations: 150.5 kB / 0.6074 GB, free: 19.53 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004717/0.5822, allocations: 4.521 MB / 0.6118 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003712/0.5826, allocations: 61.7 kB / 0.6119 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001529/0.5841, allocations: 3.55 MB / 0.6153 GB, free: 11.37 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007515/0.5849, allocations: 0.953 MB / 0.6163 GB, free: 10.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001597/0.5865, allocations: 1.47 MB / 0.6177 GB, free: 8.945 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.111e-05/0.5865, allocations: 305.1 kB / 0.618 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00388/0.5904, allocations: 3.449 MB / 0.6213 GB, free: 5.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005997/0.5964, allocations: 7.392 MB / 0.6286 GB, free: 11.86 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01462/0.6111, allocations: 11.68 MB / 0.64 GB, free: 14.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.86e-05/0.6112, allocations: 40 kB / 0.64 GB, free: 14.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=896) (initialization): time 0.02128/0.6325, allocations: 11.78 MB / 0.6515 GB, free: 2.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.6326, allocations: 64 kB / 0.6516 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001896/0.6328, allocations: 140 kB / 0.6517 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002829/0.6357, allocations: 1.125 MB / 0.6528 GB, free: 1.086 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006667/0.6424, allocations: 1.774 MB / 0.6545 GB, free: 15.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/0.6509, allocations: 6.354 MB / 0.6607 GB, free: 8.816 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006006/0.657, allocations: 426.8 kB / 0.6612 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/0.6584, allocations: 455.8 kB / 0.6616 GB, free: 7.957 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 630 * Number of states: 0 () * Number of discrete variables: 42 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (857): * Single equations (assignments): 853 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004326/0.6627, allocations: 2.436 MB / 0.664 GB, free: 5.512 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008788/0.6636, allocations: 414.6 kB / 0.6644 GB, free: 5.102 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/0.6741, allocations: 6.551 MB / 0.6708 GB, free: 14.53 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.199e-05/0.6742, allocations: 28 kB / 0.6708 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.6742, allocations: 4 kB / 0.6708 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.358e-05/0.6742, allocations: 15.89 kB / 0.6708 GB, free: 14.48 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/0.696, allocations: 13.72 MB / 0.6842 GB, free: 0.6836 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/0.696, allocations: 4 kB / 0.6842 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003038/0.6991, allocations: 0.5892 MB / 0.6848 GB, free: 92 kB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002528/0.7016, allocations: 0.9566 MB / 0.6857 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.7019, allocations: 91.48 kB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007753/0.7097, allocations: 6.07 MB / 0.6917 GB, free: 8.836 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7097, allocations: 4 kB / 0.6917 GB, free: 8.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/0.7257, allocations: 11.05 MB / 0.7025 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002701/0.7284, allocations: 0.9376 MB / 0.7034 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006353/0.729, allocations: 48 kB / 0.7035 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002247/0.7313, allocations: 175.8 kB / 0.7037 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005237/0.7318, allocations: 201.6 kB / 0.7039 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002735/0.7321, allocations: 111.7 kB / 0.704 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004008/0.7361, allocations: 2.843 MB / 0.7067 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.7361, allocations: 0 / 0.7067 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005156/0.7413, allocations: 1.264 MB / 0.708 GB, free: 8.078 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (228): * Single equations (assignments): 224 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004798/0.7418, allocations: 192.1 kB / 0.7082 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.1978/0.9396, allocations: 8.136 MB / 0.7161 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/0.9396, allocations: 2.594 kB / 0.7161 GB, free: 166.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.004848/0.9445, allocations: 3.207 MB / 0.7192 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00281/0.9473, allocations: 0.5056 MB / 0.7197 GB, free: 166.1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/0.9672, allocations: 12.48 MB / 0.7319 GB, free: 162.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003791/0.971, allocations: 3.804 MB / 0.7356 GB, free: 161.2 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005298/0.9763, allocations: 2.365 MB / 0.7379 GB, free: 161 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/0.9777, allocations: 436.2 kB / 0.7384 GB, free: 161 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.9778, allocations: 0 / 0.7384 GB, free: 161 MB / 0.4981 GB Notification: Performance of Templates: time 0.07982/1.058, allocations: 52.3 MB / 0.7894 GB, free: 115.2 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches