Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.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.001181/0.001181, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.00174/0.00174, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9028/0.9028, allocations: 158.6 MB / 185 MB, free: 3.023 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1374/0.1374, allocations: 32.36 MB / 269.6 MB, free: 14.98 MB / 266.7 MB " [Timeout remaining time 180] 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.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.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.335e-05/1.486e-05, allocations: 5.938 kB / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2): time 0.007922/0.007937, allocations: 10.36 MB / 417.2 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006002/0.01394, allocations: 3.742 MB / 421 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008283/0.01477, allocations: 75.69 kB / 421 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002515/0.01728, allocations: 2.776 MB / 423.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002355/0.01964, allocations: 2.01 MB / 425.8 MB, free: 10.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008728/0.02051, allocations: 0.7483 MB / 426.6 MB, free: 9.715 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002551/0.02306, allocations: 4.123 MB / 430.7 MB, free: 5.578 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.02518, allocations: 3.182 MB / 433.9 MB, free: 2.328 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1671/0.1922, allocations: 2.358 MB / 436.2 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003342/0.1956, allocations: 2.252 MB / 438.5 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007525/0.1963, allocations: 352.6 kB / 438.8 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001633/0.198, allocations: 1.027 MB / 439.9 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001604/0.1996, allocations: 2.076 MB / 441.9 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00179/0.2014, allocations: 1.312 MB / 443.2 MB, free: 17.98 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008169/0.2095, allocations: 7.282 MB / 450.5 MB, free: 17.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2095, allocations: 0 / 450.5 MB, free: 17.36 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2095, allocations: 0 / 450.5 MB, free: 17.36 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.2097, allocations: 1.656 kB / 450.5 MB, free: 17.36 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01299/0.2227, allocations: 5.565 MB / 456.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.962e-05/0.2227, allocations: 9.375 kB / 456.1 MB, free: 14.97 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009646/0.2237, allocations: 0.7294 MB / 456.8 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00406/0.2277, allocations: 1.983 MB / 458.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003247/0.231, allocations: 2.513 MB / 461.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001133/0.2311, allocations: 236.3 kB / 461.6 MB, free: 12.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004522/0.2316, allocations: 321.5 kB / 461.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01024/0.2418, allocations: 10.84 MB / 472.7 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.255e-05/0.2419, allocations: 40.14 kB / 472.8 MB, free: 5.082 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003223/0.2422, allocations: 158.1 kB / 472.9 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001587/0.2438, allocations: 1.978 MB / 474.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01099/0.2548, allocations: 9.684 MB / 484.6 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/0.2879, allocations: 37.71 MB / 0.51 GB, free: 3.238 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007518/0.2954, allocations: 3.557 MB / 0.5135 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001939/0.2974, allocations: 1.755 MB / 0.5152 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004277/0.2978, allocations: 235.5 kB / 0.5155 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.2979, allocations: 65 kB / 0.5155 GB, free: 13.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=151): time 4.789e-06/0.2979, allocations: 0 / 0.5155 GB, free: 13.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=157): time 0.02607/0.3239, allocations: 14.7 MB / 0.5299 GB, free: 14.88 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.324, allocations: 152.9 kB / 0.53 GB, free: 14.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004862/0.3289, allocations: 4.534 MB / 0.5344 GB, free: 10.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.329, allocations: 45.7 kB / 0.5345 GB, free: 10.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001758/0.3307, allocations: 3.221 MB / 0.5376 GB, free: 6.875 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004689/0.3312, allocations: 0.6413 MB / 0.5383 GB, free: 6.242 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001104/0.3323, allocations: 1.192 MB / 0.5394 GB, free: 5.039 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.633e-05/0.3324, allocations: 308.5 kB / 0.5397 GB, free: 4.738 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/0.3345, allocations: 2.092 MB / 0.5418 GB, free: 2.641 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004082/0.3386, allocations: 5.79 MB / 0.5474 GB, free: 11.06 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00727/0.3459, allocations: 8.559 MB / 0.5558 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.505e-05/0.3459, allocations: 39.94 kB / 0.5558 GB, free: 0.832 MB / 458.7 MB Notification: Performance of matching and sorting (n=757) (initialization): time 0.009393/0.3553, allocations: 8.398 MB / 0.564 GB, free: 8.426 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.3554, allocations: 60 kB / 0.5641 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.894e-05/0.3555, allocations: 132 kB / 0.5642 GB, free: 8.238 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.3568, allocations: 0.911 MB / 0.5651 GB, free: 7.324 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002205/0.359, allocations: 1.384 MB / 0.5664 GB, free: 5.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.3635, allocations: 5.047 MB / 0.5714 GB, free: 0.7852 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.3664, allocations: 359.6 kB / 0.5717 GB, free: 444 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/0.3667, allocations: 376 kB / 0.5721 GB, free: 68 kB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 599 * Number of states: 0 () * Number of discrete variables: 36 (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 (718): * Single equations (assignments): 714 * 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.002805/0.3695, allocations: 2.092 MB / 0.5741 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003939/0.3699, allocations: 365.6 kB / 0.5745 GB, free: 13.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0039/0.3738, allocations: 3.155 MB / 0.5775 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/0.3738, allocations: 23.94 kB / 0.5776 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.3738, allocations: 7.984 kB / 0.5776 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.3738, allocations: 7.984 kB / 0.5776 GB, free: 10.39 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009567/0.3834, allocations: 7.697 MB / 0.5851 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3834, allocations: 384 / 0.5851 GB, free: 2.648 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007601/0.3842, allocations: 311.6 kB / 0.5854 GB, free: 2.344 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001194/0.3854, allocations: 0.7108 MB / 0.5861 GB, free: 1.629 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/0.3855, allocations: 47.91 kB / 0.5861 GB, free: 1.582 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00421/0.3897, allocations: 4.657 MB / 0.5907 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3897, allocations: 4.031 kB / 0.5907 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/0.3957, allocations: 5.722 MB / 0.5963 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001077/0.3967, allocations: 0.6028 MB / 0.5969 GB, free: 6.453 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.397, allocations: 28 kB / 0.5969 GB, free: 6.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008595/0.3979, allocations: 135.9 kB / 0.597 GB, free: 6.293 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/0.3981, allocations: 108.7 kB / 0.5971 GB, free: 6.188 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.501e-05/0.3982, allocations: 62.55 kB / 0.5972 GB, free: 6.129 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003017/0.4012, allocations: 2.726 MB / 0.5998 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.4012, allocations: 0 / 0.5998 GB, free: 3.391 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003542/0.4047, allocations: 1.035 MB / 0.6009 GB, free: 2.355 MB / 0.4948 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 (126): * Single equations (assignments): 122 * 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.006263/0.411, allocations: 6.382 MB / 0.6071 GB, free: 11.93 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005625/0.4166, allocations: 4.827 MB / 0.6118 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.4166, allocations: 0 / 0.6118 GB, free: 7.125 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001369/0.418, allocations: 1.452 MB / 0.6132 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001667/0.4197, allocations: 458.2 kB / 0.6137 GB, free: 5.219 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2051/0.6248, allocations: 46.22 MB / 0.6588 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002058/0.6268, allocations: 2.707 MB / 0.6614 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002496/0.6293, allocations: 1.9 MB / 0.6633 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/0.6307, allocations: 1.898 MB / 0.6651 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.212e-06/0.6307, allocations: 0 / 0.6651 GB, free: 147.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07956/0.7103, allocations: 69.86 MB / 0.7334 GB, free: 77.33 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.5, allocations: 7.797 kB / 0.7334 GB, free: 77.32 MB / 0.5105 GB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00059976 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_Rotor1D_Rotor1D_2.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_2/Rotor1D_2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.73204134684056]