Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001935/0.001935, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 79.88 kB / 480.8 MB, free: 4.562 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.404/0.4055, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01625/0.4218, allocations: 10.24 MB / 0.5405 GB, free: 5.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01161/0.4335, allocations: 3.798 MB / 0.5442 GB, free: 2.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003186/0.4368, allocations: 54.53 kB / 0.5443 GB, free: 2.395 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006025/0.4429, allocations: 1.942 MB / 0.5462 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007877/0.4508, allocations: 1.664 MB / 0.5478 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002608/0.4534, allocations: 0.612 MB / 0.5484 GB, free: 15.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008311/0.4618, allocations: 3.364 MB / 0.5517 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005639/0.4675, allocations: 2.578 MB / 0.5542 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003324/0.4708, allocations: 1.234 MB / 0.5554 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003815/0.4747, allocations: 1.67 MB / 0.557 GB, free: 6.504 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001199/0.4759, allocations: 256 kB / 0.5573 GB, free: 6.254 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003295/0.4792, allocations: 1.022 MB / 0.5583 GB, free: 5.23 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00262/0.4819, allocations: 1.554 MB / 0.5598 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004174/0.4861, allocations: 1.821 MB / 0.5616 GB, free: 1.84 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.4973, allocations: 5.81 MB / 0.5673 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4973, allocations: 3.938 kB / 0.5673 GB, free: 12 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4974, allocations: 0 / 0.5673 GB, free: 12 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002754/0.4976, allocations: 0 / 0.5673 GB, free: 12 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.01503/0.5127, allocations: 4.129 MB / 0.5713 GB, free: 7.797 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/0.5128, allocations: 8.031 kB / 0.5713 GB, free: 7.789 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002078/0.5149, allocations: 0.6043 MB / 0.5719 GB, free: 7.176 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009934/0.5248, allocations: 1.808 MB / 0.5737 GB, free: 5.363 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007111/0.532, allocations: 2.159 MB / 0.5758 GB, free: 3.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.5323, allocations: 193 kB / 0.5759 GB, free: 2.953 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001651/0.534, allocations: 255.8 kB / 0.5762 GB, free: 2.703 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02266/0.5567, allocations: 8.447 MB / 0.5844 GB, free: 9.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001941/0.5569, allocations: 39.69 kB / 0.5845 GB, free: 9.547 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001143/0.5581, allocations: 127.8 kB / 0.5846 GB, free: 9.422 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004274/0.5624, allocations: 1.703 MB / 0.5863 GB, free: 7.715 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02046/0.5829, allocations: 7.106 MB / 0.5932 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05476/0.6377, allocations: 34.08 MB / 0.6265 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007965/0.6457, allocations: 3.292 MB / 0.6297 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002101/0.6479, allocations: 1.465 MB / 0.6311 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008309/0.6562, allocations: 4.457 MB / 0.6355 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.6563, allocations: 51.12 kB / 0.6355 GB, free: 3.867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=121): time 4.949e-06/0.6563, allocations: 0 / 0.6355 GB, free: 3.867 MB / 494.1 MB Notification: Performance of matching and sorting (n=129): time 0.03009/0.6864, allocations: 11.74 MB / 0.647 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.6866, allocations: 170.9 kB / 0.6472 GB, free: 7.789 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0054/0.692, allocations: 3.73 MB / 0.6508 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002576/0.6923, allocations: 45.69 kB / 0.6509 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002145/0.6944, allocations: 2.866 MB / 0.6536 GB, free: 1.121 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007176/0.6952, allocations: 0.5428 MB / 0.6542 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001452/0.6966, allocations: 1.088 MB / 0.6552 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.671e-05/0.6967, allocations: 305.1 kB / 0.6555 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002379/0.6991, allocations: 1.705 MB / 0.6572 GB, free: 13.46 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004723/0.7039, allocations: 5.119 MB / 0.6622 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009072/0.7129, allocations: 7.411 MB / 0.6694 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.535e-05/0.7131, allocations: 32 kB / 0.6695 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01328/0.7264, allocations: 6.72 MB / 0.676 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.454e-05/0.7265, allocations: 61.81 kB / 0.6761 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/0.7267, allocations: 124 kB / 0.6762 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006584/0.7273, allocations: 321.5 kB / 0.6765 GB, free: 6.238 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004024/0.7314, allocations: 1.244 MB / 0.6777 GB, free: 4.992 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.7342, allocations: 2.49 MB / 0.6802 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00393/0.7381, allocations: 295.7 kB / 0.6804 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006671/0.7388, allocations: 328 kB / 0.6808 GB, free: 1.754 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (664): * Single equations (assignments): 660 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002775/0.7416, allocations: 1.799 MB / 0.6825 GB, free: 15.94 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005853/0.7422, allocations: 329.8 kB / 0.6828 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004568/0.7468, allocations: 2.367 MB / 0.6851 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.7468, allocations: 16 kB / 0.6851 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.7468, allocations: 4 kB / 0.6852 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.406e-05/0.7468, allocations: 11.97 kB / 0.6852 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.7582, allocations: 5.914 MB / 0.6909 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.609e-05/0.7583, allocations: 3.938 kB / 0.6909 GB, free: 7.219 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008632/0.7591, allocations: 171.8 kB / 0.6911 GB, free: 7.051 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.7612, allocations: 0.7186 MB / 0.6918 GB, free: 6.328 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.7614, allocations: 23.98 kB / 0.6918 GB, free: 6.305 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005769/0.7671, allocations: 4.821 MB / 0.6965 GB, free: 1.336 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.7672, allocations: 4.031 kB / 0.6965 GB, free: 1.332 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.7737, allocations: 4.351 MB / 0.7008 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009328/0.7747, allocations: 382.8 kB / 0.7012 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003665/0.775, allocations: 31.88 kB / 0.7012 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.7761, allocations: 67.91 kB / 0.7013 GB, free: 12.45 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001748/0.7763, allocations: 64.56 kB / 0.7013 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-05/0.7764, allocations: 39.98 kB / 0.7014 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003415/0.7799, allocations: 2.319 MB / 0.7036 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 5.11e-07/0.7799, allocations: 0 / 0.7036 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004546/0.7844, allocations: 0.8007 MB / 0.7044 GB, free: 9.246 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * 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,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007276/0.7917, allocations: 4.986 MB / 0.7093 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00665/0.7984, allocations: 4.05 MB / 0.7132 GB, free: 188 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-05/0.7985, allocations: 4 kB / 0.7132 GB, free: 184 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00168/0.8001, allocations: 1.115 MB / 0.7143 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002717/0.8029, allocations: 393.5 kB / 0.7147 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3611/1.164, allocations: 37.73 MB / 0.7515 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002217/1.166, allocations: 2.783 MB / 0.7543 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003086/1.169, allocations: 1.667 MB / 0.7559 GB, free: 158 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.171, allocations: 1.522 MB / 0.7574 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of SimCode: time 9.92e-07/1.171, allocations: 0 / 0.7574 GB, free: 156.5 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08644/1.258, allocations: 57.54 MB / 0.8136 GB, free: 99.32 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.49/24.75, allocations: 0 / 0.8136 GB, free: 99.32 MB / 0.5762 GB (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches