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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001854/0.001854, allocations: 107.8 kB / 20.48 MB, free: 1.125 MB / 14.72 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.002447/0.002447, allocations: 212.2 kB / 23.78 MB, free: 4.328 MB / 14.72 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 1.47/1.47, allocations: 230.5 MB / 257.4 MB, free: 7.707 MB / 206.1 MB " [Timeout remaining time 178] 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.2286/0.2286, allocations: 46.95 MB / 360.9 MB, free: 3.859 MB / 286.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 75.88 kB / 0.4962 GB, free: 7.469 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3795, allocations: 66.09 MB / 0.5608 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01174/0.3913, allocations: 9.017 MB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008005/0.3993, allocations: 3.61 MB / 0.5731 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.4007, allocations: 67.69 kB / 0.5732 GB, free: 7.203 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003797/0.4045, allocations: 1.9 MB / 0.575 GB, free: 5.297 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.409, allocations: 1.681 MB / 0.5767 GB, free: 3.609 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.4105, allocations: 0.6121 MB / 0.5773 GB, free: 2.996 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005099/0.4156, allocations: 3.368 MB / 0.5805 GB, free: 15.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003011/0.4186, allocations: 2.114 MB / 0.5826 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.4208, allocations: 1.257 MB / 0.5838 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002885/0.4237, allocations: 1.721 MB / 0.5855 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005912/0.4243, allocations: 255.9 kB / 0.5858 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.4261, allocations: 0.9205 MB / 0.5867 GB, free: 9.289 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001704/0.4279, allocations: 1.601 MB / 0.5882 GB, free: 7.684 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.4296, allocations: 1.332 MB / 0.5895 GB, free: 6.344 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007019/0.4366, allocations: 5.84 MB / 0.5952 GB, free: 492 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4366, allocations: 0 / 0.5952 GB, free: 492 kB / 430.1 MB Notification: Performance of FrontEnd: time 3.477e-06/0.4366, allocations: 8 kB / 0.5952 GB, free: 484 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001507/0.4368, allocations: 0 / 0.5952 GB, free: 484 kB / 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.008647/0.4454, allocations: 4.038 MB / 0.5992 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.4455, allocations: 12.03 kB / 0.5992 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008091/0.4463, allocations: 0.6043 MB / 0.5998 GB, free: 11.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00623/0.4525, allocations: 1.843 MB / 0.6016 GB, free: 9.906 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004628/0.4572, allocations: 2.122 MB / 0.6036 GB, free: 7.738 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000174/0.4573, allocations: 193 kB / 0.6038 GB, free: 7.547 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.4579, allocations: 255.8 kB / 0.6041 GB, free: 7.297 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.4723, allocations: 8.501 MB / 0.6124 GB, free: 14.11 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.677e-05/0.4724, allocations: 35.69 kB / 0.6124 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003547/0.4728, allocations: 131.9 kB / 0.6125 GB, free: 13.95 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002889/0.4757, allocations: 1.695 MB / 0.6142 GB, free: 12.25 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01379/0.4895, allocations: 7.075 MB / 0.6211 GB, free: 5.164 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04307/0.5325, allocations: 32.89 MB / 0.6532 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007666/0.5402, allocations: 2.828 MB / 0.656 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002097/0.5423, allocations: 1.359 MB / 0.6573 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00722/0.5495, allocations: 3.392 MB / 0.6606 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.867e-05/0.5496, allocations: 47.16 kB / 0.6607 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 3.927e-06/0.5496, allocations: 0 / 0.6607 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.0292/0.5788, allocations: 11.85 MB / 0.6722 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.5789, allocations: 166.9 kB / 0.6724 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005714/0.5846, allocations: 3.931 MB / 0.6762 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001493/0.5848, allocations: 41.7 kB / 0.6763 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002471/0.5872, allocations: 2.862 MB / 0.6791 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006204/0.5879, allocations: 0.5467 MB / 0.6796 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001466/0.5893, allocations: 1.084 MB / 0.6807 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5895, allocations: 313.1 kB / 0.681 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002647/0.5921, allocations: 1.693 MB / 0.6826 GB, free: 4.906 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005881/0.598, allocations: 5.152 MB / 0.6876 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009627/0.6076, allocations: 7.404 MB / 0.6949 GB, free: 4.906 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.148e-05/0.6077, allocations: 36 kB / 0.6949 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01175/0.6195, allocations: 6.709 MB / 0.7015 GB, free: 14.15 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.481e-05/0.6195, allocations: 70.53 kB / 0.7015 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/0.6197, allocations: 120 kB / 0.7016 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.6203, allocations: 321.1 kB / 0.7019 GB, free: 13.65 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.624, allocations: 1.248 MB / 0.7032 GB, free: 12.4 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.627, allocations: 2.379 MB / 0.7055 GB, free: 9.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003554/0.6305, allocations: 295.7 kB / 0.7058 GB, free: 9.621 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005394/0.6311, allocations: 332 kB / 0.7061 GB, free: 9.297 MB / 0.545 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.002798/0.6339, allocations: 1.787 MB / 0.7078 GB, free: 7.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006544/0.6345, allocations: 329.8 kB / 0.7081 GB, free: 7.172 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/0.6393, allocations: 2.367 MB / 0.7105 GB, free: 4.789 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.6393, allocations: 12 kB / 0.7105 GB, free: 4.777 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6393, allocations: 4 kB / 0.7105 GB, free: 4.773 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6393, allocations: 3.984 kB / 0.7105 GB, free: 4.77 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01187/0.6512, allocations: 5.66 MB / 0.716 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.389e-05/0.6512, allocations: 7.938 kB / 0.716 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008529/0.6521, allocations: 179.7 kB / 0.7162 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002168/0.6542, allocations: 0.7069 MB / 0.7169 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/0.6543, allocations: 23.91 kB / 0.7169 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00652/0.6609, allocations: 4.667 MB / 0.7215 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.6609, allocations: 3.984 kB / 0.7215 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007652/0.6685, allocations: 4.359 MB / 0.7257 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6696, allocations: 297.8 kB / 0.726 GB, free: 4.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.6699, allocations: 23.98 kB / 0.726 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/0.6709, allocations: 75.84 kB / 0.7261 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002252/0.6711, allocations: 72.52 kB / 0.7262 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.6712, allocations: 39.94 kB / 0.7262 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003785/0.675, allocations: 2.327 MB / 0.7285 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.675, allocations: 0 / 0.7285 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004315/0.6793, allocations: 0.7968 MB / 0.7293 GB, free: 1.344 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.3477/1.027, allocations: 4.97 MB / 0.7341 GB, free: 153 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005065/1.032, allocations: 3.892 MB / 0.7379 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/1.032, allocations: 0 / 0.7379 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001143/1.033, allocations: 1.041 MB / 0.7389 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/1.035, allocations: 382.4 kB / 0.7393 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04217/1.078, allocations: 37.79 MB / 0.7762 GB, free: 114.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/1.08, allocations: 2.237 MB / 0.7784 GB, free: 112.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003051/1.083, allocations: 1.656 MB / 0.78 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/1.084, allocations: 1.522 MB / 0.7815 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.432e-06/1.084, allocations: 0 / 0.7815 GB, free: 109.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1227/1.207, allocations: 58.19 MB / 0.8383 GB, free: 51.7 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.77/16.98, allocations: 11.19 kB / 0.8383 GB, free: 51.69 MB / 0.5606 GB " [Timeout remaining time 643] (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.000219912 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.156989618204534]