Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.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.001729/0.001729, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 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.002172/0.002172, allocations: 211.2 kB / 20.75 MB, free: 2.27 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.547/1.547, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2301/0.2301, allocations: 44.9 MB / 355.1 MB, free: 12.33 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 67.89 kB / 499.6 MB, free: 11.69 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1362, allocations: 65.43 MB / 0.5518 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.01225/0.1485, allocations: 10.29 MB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008042/0.1565, allocations: 3.822 MB / 0.5655 GB, free: 11.95 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001797/0.1583, allocations: 63.69 kB / 0.5656 GB, free: 11.89 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004212/0.1625, allocations: 1.97 MB / 0.5675 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005229/0.1677, allocations: 1.665 MB / 0.5692 GB, free: 8.242 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.1695, allocations: 0.6121 MB / 0.5698 GB, free: 7.629 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006198/0.1757, allocations: 3.38 MB / 0.5731 GB, free: 4.242 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00358/0.1793, allocations: 2.185 MB / 0.5752 GB, free: 2.004 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.1817, allocations: 1.257 MB / 0.5764 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002727/0.1844, allocations: 1.814 MB / 0.5782 GB, free: 14.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007113/0.1851, allocations: 256 kB / 0.5784 GB, free: 14.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.1873, allocations: 1.049 MB / 0.5795 GB, free: 13.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001933/0.1892, allocations: 1.593 MB / 0.581 GB, free: 12.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002557/0.1918, allocations: 1.813 MB / 0.5828 GB, free: 10.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007708/0.1995, allocations: 5.82 MB / 0.5885 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.1995, allocations: 0 / 0.5885 GB, free: 4.355 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1995, allocations: 0 / 0.5885 GB, free: 4.355 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001686/0.1997, allocations: 0 / 0.5885 GB, free: 4.355 MB / 446.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.00908/0.2087, allocations: 4.121 MB / 0.5925 GB, free: 164 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.2088, allocations: 11.97 kB / 0.5925 GB, free: 152 kB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.2604/0.4692, allocations: 0.6055 MB / 0.5931 GB, free: 36.42 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007399/0.4766, allocations: 1.803 MB / 0.5949 GB, free: 36.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005086/0.4817, allocations: 2.167 MB / 0.597 GB, free: 35.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002186/0.4819, allocations: 191.3 kB / 0.5972 GB, free: 35.71 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009813/0.4829, allocations: 256.5 kB / 0.5974 GB, free: 35.65 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.4997, allocations: 8.458 MB / 0.6057 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.4999, allocations: 41.58 kB / 0.6057 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005642/0.5005, allocations: 125.7 kB / 0.6058 GB, free: 31.56 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00333/0.5038, allocations: 1.693 MB / 0.6075 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01457/0.5183, allocations: 7.114 MB / 0.6144 GB, free: 28.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03418/0.5525, allocations: 34.09 MB / 0.6477 GB, free: 12.37 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007962/0.5605, allocations: 3.185 MB / 0.6508 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002027/0.5625, allocations: 1.356 MB / 0.6521 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007308/0.5698, allocations: 4.463 MB / 0.6565 GB, free: 3.059 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.46e-05/0.5699, allocations: 47.11 kB / 0.6565 GB, free: 3.004 MB / 462.1 MB Notification: Performance of pre-optimization done (n=121): time 4.028e-06/0.5699, allocations: 0 / 0.6565 GB, free: 3.004 MB / 462.1 MB Notification: Performance of matching and sorting (n=129): time 0.03126/0.6011, allocations: 11.73 MB / 0.668 GB, free: 7.145 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.6013, allocations: 170.9 kB / 0.6682 GB, free: 6.941 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006959/0.6082, allocations: 3.726 MB / 0.6718 GB, free: 3.223 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003199/0.6085, allocations: 50.81 kB / 0.6719 GB, free: 3.168 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002416/0.611, allocations: 2.862 MB / 0.6746 GB, free: 284 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007414/0.6117, allocations: 0.5392 MB / 0.6752 GB, free: 15.73 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001679/0.6134, allocations: 1.087 MB / 0.6762 GB, free: 14.63 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.6135, allocations: 305.1 kB / 0.6765 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.6164, allocations: 1.701 MB / 0.6782 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005702/0.6221, allocations: 5.119 MB / 0.6832 GB, free: 5.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009602/0.6317, allocations: 7.404 MB / 0.6904 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001286/0.6318, allocations: 40.62 kB / 0.6905 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01353/0.6453, allocations: 6.723 MB / 0.697 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001503/0.6455, allocations: 56.66 kB / 0.6971 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002105/0.6457, allocations: 124 kB / 0.6972 GB, free: 5.723 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007947/0.6465, allocations: 316.7 kB / 0.6975 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004315/0.6508, allocations: 1.244 MB / 0.6987 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00307/0.6539, allocations: 2.503 MB / 0.7012 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003943/0.6578, allocations: 295.6 kB / 0.7014 GB, free: 1.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009195/0.6587, allocations: 332.1 kB / 0.7018 GB, free: 0.9102 MB / 0.4981 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.003697/0.6624, allocations: 1.79 MB / 0.7035 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000903/0.6633, allocations: 325.8 kB / 0.7038 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005787/0.6691, allocations: 2.367 MB / 0.7061 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.271e-05/0.6691, allocations: 19.94 kB / 0.7061 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.568e-05/0.6692, allocations: 4 kB / 0.7061 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.258e-05/0.6692, allocations: 7.969 kB / 0.7062 GB, free: 12.37 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01432/0.6835, allocations: 5.918 MB / 0.7119 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.24e-05/0.6835, allocations: 4 kB / 0.7119 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009483/0.6845, allocations: 171.8 kB / 0.7121 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002472/0.6869, allocations: 0.7108 MB / 0.7128 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/0.6872, allocations: 27.94 kB / 0.7128 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006824/0.694, allocations: 4.804 MB / 0.7175 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.056e-05/0.694, allocations: 19.95 kB / 0.7175 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007772/0.7018, allocations: 4.336 MB / 0.7218 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009872/0.7028, allocations: 378.8 kB / 0.7221 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006514/0.7034, allocations: 20 kB / 0.7221 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/0.7049, allocations: 75.83 kB / 0.7222 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002732/0.7052, allocations: 68.58 kB / 0.7223 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.7053, allocations: 39.98 kB / 0.7223 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004523/0.7098, allocations: 2.319 MB / 0.7246 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.7098, allocations: 3.938 kB / 0.7246 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004844/0.7147, allocations: 0.8045 MB / 0.7254 GB, free: 8.441 MB / 0.5294 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.008693/0.7234, allocations: 4.975 MB / 0.7302 GB, free: 3.426 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.007431/0.7308, allocations: 3.893 MB / 0.734 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.7308, allocations: 4 kB / 0.734 GB, free: 15.54 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001977/0.7328, allocations: 1.034 MB / 0.7351 GB, free: 14.49 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003431/0.7362, allocations: 396 kB / 0.7354 GB, free: 14.11 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07185/0.8081, allocations: 37.72 MB / 0.7723 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004938/0.813, allocations: 2.785 MB / 0.775 GB, free: 380 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.004618/0.8176, allocations: 1.657 MB / 0.7766 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003224/0.8208, allocations: 1.522 MB / 0.7781 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/0.8208, allocations: 8 kB / 0.7781 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1262/0.947, allocations: 58 MB / 0.8347 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/25.1, allocations: 11.98 kB / 0.8347 GB, free: 3.484 MB / 0.6387 GB " [Timeout remaining time 635] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_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: 28.590414540842175]