Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Rotational.TestMove,fileNamePrefix="ModelicaTest_4_0_0_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.0008894/0.0008895, allocations: 94.2 kB / 17.35 MB, free: 6.375 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.001007/0.001007, allocations: 179.5 kB / 18.26 MB, free: 5.52 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.197/1.197, allocations: 223.3 MB / 242.3 MB, free: 216 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1611/0.1611, allocations: 44.25 MB / 337.7 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003031/0.0003031, allocations: 8 kB / 410.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09038/0.0907, allocations: 61.93 MB / 472.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestMove): time 0.01153/0.1023, allocations: 13.85 MB / 486.2 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006672/0.109, allocations: 4.479 MB / 490.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009075/0.1099, allocations: 51.88 kB / 490.7 MB, free: 10.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005388/0.1104, allocations: 294.6 kB / 491 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.1124, allocations: 1.238 MB / 492.3 MB, free: 9.277 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007958/0.1133, allocations: 487.1 kB / 492.7 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002758/0.116, allocations: 3.467 MB / 496.2 MB, free: 5.328 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1177, allocations: 1.487 MB / 497.7 MB, free: 3.809 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000811/0.1186, allocations: 0.6417 MB / 498.3 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001251/0.1198, allocations: 1.156 MB / 499.5 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.1201, allocations: 80 kB / 499.6 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.1213, allocations: 0.9514 MB / 0.4888 GB, free: 0.9727 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007779/0.1221, allocations: 0.9815 MB / 0.4897 GB, free: 15.99 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009813/0.1231, allocations: 1.193 MB / 0.4909 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003034/0.1261, allocations: 3.803 MB / 0.4946 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1262, allocations: 4 kB / 0.4946 GB, free: 10.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1262, allocations: 0 / 0.4946 GB, free: 10.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.215e-05/0.1262, allocations: 0 / 0.4946 GB, free: 10.96 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: 954 * Number of variables: 954 Notification: Performance of Generate backend data structure: time 0.003369/0.1296, allocations: 2.454 MB / 0.497 GB, free: 8.449 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.1296, allocations: 8.031 kB / 0.497 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004234/0.13, allocations: 466.4 kB / 0.4975 GB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005526/0.1356, allocations: 1.709 MB / 0.4991 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.1376, allocations: 1.64 MB / 0.5007 GB, free: 4.578 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.325e-05/0.1377, allocations: 127.4 kB / 0.5009 GB, free: 4.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002898/0.138, allocations: 167.8 kB / 0.501 GB, free: 4.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1581/0.2961, allocations: 6.456 MB / 0.5073 GB, free: 44.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.648e-05/0.2962, allocations: 33.97 kB / 0.5074 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.2964, allocations: 84.83 kB / 0.5074 GB, free: 44.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002405/0.2988, allocations: 1.437 MB / 0.5089 GB, free: 44.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009258/0.3081, allocations: 5.74 MB / 0.5145 GB, free: 43.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01969/0.3278, allocations: 26.77 MB / 0.5406 GB, free: 22.69 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003192/0.331, allocations: 2.139 MB / 0.5427 GB, free: 21.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009612/0.332, allocations: 1.04 MB / 0.5437 GB, free: 20.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.3321, allocations: 175.1 kB / 0.5439 GB, free: 20.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.631e-05/0.3321, allocations: 46.14 kB / 0.5439 GB, free: 20.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.655e-06/0.3322, allocations: 0 / 0.5439 GB, free: 20.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=112): time 0.01192/0.3441, allocations: 6.364 MB / 0.5501 GB, free: 14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.389e-05/0.3441, allocations: 137 kB / 0.5503 GB, free: 13.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002617/0.3467, allocations: 2.898 MB / 0.5531 GB, free: 10.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.412e-05/0.3468, allocations: 41.7 kB / 0.5531 GB, free: 10.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008293/0.3477, allocations: 2.102 MB / 0.5552 GB, free: 8.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002236/0.3479, allocations: 464 kB / 0.5556 GB, free: 8.328 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003081/0.3482, allocations: 378.5 kB / 0.556 GB, free: 7.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.181e-05/0.3483, allocations: 301.1 kB / 0.5563 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.3498, allocations: 1.422 MB / 0.5577 GB, free: 6.227 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.3524, allocations: 4.291 MB / 0.5619 GB, free: 496 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006169/0.3586, allocations: 6.197 MB / 0.5679 GB, free: 8.859 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.874e-05/0.3586, allocations: 32 kB / 0.5679 GB, free: 8.828 MB / 398.1 MB Notification: Performance of matching and sorting (n=577) (initialization): time 0.007019/0.3657, allocations: 5.472 MB / 0.5733 GB, free: 3.348 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.3657, allocations: 52.94 kB / 0.5733 GB, free: 3.297 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.767e-05/0.3658, allocations: 104 kB / 0.5734 GB, free: 3.195 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001057/0.3659, allocations: 139.9 kB / 0.5736 GB, free: 3.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003588/0.3695, allocations: 1.22 MB / 0.5748 GB, free: 1.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001241/0.3697, allocations: 199.2 kB / 0.5749 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.3718, allocations: 239.6 kB / 0.5752 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.3721, allocations: 284 kB / 0.5754 GB, free: 1.129 MB / 398.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.001523/0.3736, allocations: 1.387 MB / 0.5768 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002787/0.3739, allocations: 244.8 kB / 0.577 GB, free: 15.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001778/0.3757, allocations: 1.234 MB / 0.5782 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.3757, allocations: 15.94 kB / 0.5783 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3757, allocations: 0 / 0.5783 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.889e-06/0.3758, allocations: 7.922 kB / 0.5783 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.3819, allocations: 4.56 MB / 0.5827 GB, free: 9.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.675e-06/0.3819, allocations: 4 kB / 0.5827 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001729/0.3836, allocations: 363.3 kB / 0.5831 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.3837, allocations: 8 kB / 0.5831 GB, free: 9.207 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.493e-05/0.3837, allocations: 32.42 kB / 0.5831 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.06e-05/0.3837, allocations: 12.75 kB / 0.5831 GB, free: 9.164 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3837, allocations: 11.94 kB / 0.5831 GB, free: 9.152 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.386, allocations: 2.159 MB / 0.5852 GB, free: 6.926 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003779/0.3864, allocations: 309.8 kB / 0.5855 GB, free: 6.602 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.3866, allocations: 20 kB / 0.5855 GB, free: 6.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.3874, allocations: 55.97 kB / 0.5856 GB, free: 6.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/0.3876, allocations: 75.78 kB / 0.5857 GB, free: 6.453 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.3876, allocations: 39.02 kB / 0.5857 GB, free: 6.418 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002185/0.3898, allocations: 1.823 MB / 0.5875 GB, free: 4.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3898, allocations: 0 / 0.5875 GB, free: 4.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002619/0.3925, allocations: 0.6316 MB / 0.5881 GB, free: 3.965 MB / 414.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.002562/0.395, allocations: 2.789 MB / 0.5908 GB, free: 1.102 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004101/0.3992, allocations: 3.256 MB / 0.594 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3992, allocations: 0 / 0.594 GB, free: 13.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009121/0.4001, allocations: 0.7892 MB / 0.5948 GB, free: 13.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.4029, allocations: 263.5 kB / 0.595 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03937/0.4422, allocations: 33.46 MB / 0.6277 GB, free: 6.008 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002005/0.4443, allocations: 2.21 MB / 0.6299 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003079/0.4474, allocations: 1.459 MB / 0.6313 GB, free: 2.305 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.4487, allocations: 1.089 MB / 0.6324 GB, free: 1.219 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4487, allocations: 0 / 0.6324 GB, free: 1.219 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6981/1.147, allocations: 42.93 MB / 0.6743 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002003/1.147, allocations: 183.5 kB / 0.6745 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.892/4.039, allocations: 0 / 0.6745 GB, free: 6.285 MB / 0.4981 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Rotational_TestMove.fmu > ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/TestMove/TestMove.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.TestMove.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches