Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008608/0.0008608, allocations: 80.34 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008077/0.0008077, allocations: 160.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8921/0.8921, allocations: 177 MB / 204.1 MB, free: 5.781 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2441/0.2441, allocations: 34.23 MB / 294.8 MB, free: 0.6953 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 442.2 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.275e-05/1.449e-05, allocations: 6.219 kB / 442.2 MB, free: 1.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.1851/0.1851, allocations: 9.723 MB / 451.9 MB, free: 38.93 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.007104/0.1922, allocations: 3.65 MB / 455.5 MB, free: 36.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001858/0.1941, allocations: 75.44 kB / 455.6 MB, free: 36.62 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002928/0.197, allocations: 2.737 MB / 458.3 MB, free: 35.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003603/0.2006, allocations: 1.87 MB / 460.2 MB, free: 34.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2018, allocations: 0.7508 MB / 461 MB, free: 34.28 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.205, allocations: 3.972 MB / 464.9 MB, free: 32.79 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002584/0.2076, allocations: 3.072 MB / 468 MB, free: 31.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002736/0.2104, allocations: 2.223 MB / 470.2 MB, free: 30.43 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.2127, allocations: 2.113 MB / 472.3 MB, free: 29.84 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006079/0.2133, allocations: 327.6 kB / 472.7 MB, free: 29.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001964/0.2152, allocations: 0.9977 MB / 473.7 MB, free: 29.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001399/0.2166, allocations: 1.921 MB / 475.6 MB, free: 28.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.2182, allocations: 1.22 MB / 476.8 MB, free: 28.23 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006798/0.225, allocations: 6.724 MB / 483.5 MB, free: 25.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.225, allocations: 1 kB / 483.5 MB, free: 25.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.225, allocations: 0 / 483.5 MB, free: 25.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002642/0.2253, allocations: 0 / 483.5 MB, free: 25.91 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1413 * Number of variables: 1413 Notification: Performance of Generate backend data structure: time 0.01608/0.2413, allocations: 5.302 MB / 488.8 MB, free: 23.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/0.2414, allocations: 9.219 kB / 488.8 MB, free: 23.29 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001332/0.2427, allocations: 0.6768 MB / 489.5 MB, free: 22.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004678/0.2474, allocations: 1.937 MB / 491.5 MB, free: 22.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004179/0.2516, allocations: 2.264 MB / 493.7 MB, free: 21.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/0.2517, allocations: 231.9 kB / 493.9 MB, free: 21.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006956/0.2524, allocations: 304.5 kB / 494.2 MB, free: 21.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01567/0.2681, allocations: 10.14 MB / 0.4926 GB, free: 15.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001367/0.2682, allocations: 43.95 kB / 0.4926 GB, free: 15.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004765/0.2687, allocations: 146.2 kB / 0.4927 GB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001941/0.2707, allocations: 1.806 MB / 0.4945 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01188/0.2825, allocations: 9.103 MB / 0.5034 GB, free: 6.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0352/0.3177, allocations: 35.78 MB / 0.5383 GB, free: 1.973 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007513/0.3252, allocations: 3.367 MB / 0.5416 GB, free: 14.57 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001805/0.3271, allocations: 1.604 MB / 0.5432 GB, free: 12.95 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/0.3275, allocations: 232.2 kB / 0.5434 GB, free: 12.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.3275, allocations: 47.16 kB / 0.5435 GB, free: 12.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=130): time 5.06e-06/0.3275, allocations: 0 / 0.5435 GB, free: 12.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=136): time 0.02692/0.3544, allocations: 13.57 MB / 0.5567 GB, free: 15.04 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.424e-05/0.3545, allocations: 141.2 kB / 0.5568 GB, free: 14.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004836/0.3593, allocations: 4.364 MB / 0.5611 GB, free: 10.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003042/0.3596, allocations: 45.7 kB / 0.5611 GB, free: 10.47 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001807/0.3615, allocations: 3.058 MB / 0.5641 GB, free: 7.387 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/0.3622, allocations: 0.57 MB / 0.5647 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/0.3635, allocations: 1.139 MB / 0.5658 GB, free: 5.664 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.83e-05/0.3636, allocations: 301.1 kB / 0.5661 GB, free: 5.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002309/0.3659, allocations: 1.918 MB / 0.568 GB, free: 3.445 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00406/0.3699, allocations: 5.482 MB / 0.5733 GB, free: 12.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007755/0.3777, allocations: 8.043 MB / 0.5812 GB, free: 2.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001072/0.3778, allocations: 39.94 kB / 0.5812 GB, free: 2.301 MB / 490.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.01107/0.3889, allocations: 7.905 MB / 0.5889 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.3889, allocations: 60 kB / 0.589 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/0.389, allocations: 128 kB / 0.5891 GB, free: 10.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/0.3905, allocations: 0.9055 MB / 0.59 GB, free: 9.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002409/0.3929, allocations: 1.287 MB / 0.5912 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004764/0.3977, allocations: 5.039 MB / 0.5962 GB, free: 2.859 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003427/0.4011, allocations: 331.6 kB / 0.5965 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006829/0.4018, allocations: 368.9 kB / 0.5968 GB, free: 2.176 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 579 * Number of states: 0 () * Number of discrete variables: 38 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (677): * Single equations (assignments): 673 * 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.003063/0.4049, allocations: 1.964 MB / 0.5987 GB, free: 204 kB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006954/0.4056, allocations: 345.8 kB / 0.5991 GB, free: 15.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003651/0.4092, allocations: 2.782 MB / 0.6018 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.519e-05/0.4092, allocations: 23.92 kB / 0.6018 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.4092, allocations: 4 kB / 0.6018 GB, free: 13.04 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.4093, allocations: 3.984 kB / 0.6018 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01043/0.4197, allocations: 6.982 MB / 0.6086 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.4197, allocations: 7.938 kB / 0.6087 GB, free: 5.973 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007197/0.4204, allocations: 247.7 kB / 0.6089 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001235/0.4217, allocations: 0.7148 MB / 0.6096 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.4218, allocations: 39.97 kB / 0.6096 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004179/0.4259, allocations: 4.644 MB / 0.6142 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4259, allocations: 4.031 kB / 0.6142 GB, free: 220 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005804/0.4318, allocations: 5.121 MB / 0.6192 GB, free: 11.06 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.4328, allocations: 369.4 kB / 0.6195 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.4332, allocations: 20 kB / 0.6195 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.434, allocations: 111.8 kB / 0.6196 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002135/0.4342, allocations: 96.42 kB / 0.6197 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/0.4343, allocations: 51.97 kB / 0.6198 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003445/0.4378, allocations: 2.621 MB / 0.6223 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.31e-07/0.4378, allocations: 0 / 0.6223 GB, free: 7.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005096/0.4429, allocations: 0.953 MB / 0.6233 GB, free: 6.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.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 (104): * Single equations (assignments): 100 * 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 {(1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006245/0.4491, allocations: 5.784 MB / 0.6289 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1839/0.633, allocations: 4.435 MB / 0.6333 GB, free: 156 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/0.633, allocations: 0 / 0.6333 GB, free: 156 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001217/0.6342, allocations: 1.284 MB / 0.6345 GB, free: 155.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002016/0.6362, allocations: 420.4 kB / 0.6349 GB, free: 155.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04581/0.6821, allocations: 43.27 MB / 0.6772 GB, free: 129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/0.6852, allocations: 2.521 MB / 0.6796 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003492/0.6887, allocations: 1.795 MB / 0.6814 GB, free: 128.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001979/0.6906, allocations: 1.773 MB / 0.6831 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.274e-06/0.6906, allocations: 0 / 0.6831 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08375/0.7744, allocations: 66.14 MB / 0.7477 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.917/10.69, allocations: 7.938 kB / 0.7477 GB, free: 70.45 MB / 0.5261 GB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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: 13.057037435472012]