Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001309/0.001309, allocations: 111.1 kB / 20.44 MB, free: 1.352 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.001564/0.001564, allocations: 212.8 kB / 23.73 MB, free: 4.531 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.261/0.261, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.RevoluteInitialization,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.91 kB / 0.4961 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3644/0.3665, allocations: 66.04 MB / 0.5606 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0125/0.379, allocations: 9.025 MB / 0.5694 GB, free: 11.17 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008519/0.3875, allocations: 3.606 MB / 0.5729 GB, free: 7.555 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00159/0.3891, allocations: 63.69 kB / 0.573 GB, free: 7.492 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003888/0.393, allocations: 1.904 MB / 0.5749 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004542/0.3975, allocations: 1.685 MB / 0.5765 GB, free: 3.895 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001534/0.3991, allocations: 0.616 MB / 0.5771 GB, free: 3.277 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005741/0.4048, allocations: 3.357 MB / 0.5804 GB, free: 15.91 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.4078, allocations: 2.118 MB / 0.5824 GB, free: 13.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.41, allocations: 1.257 MB / 0.5837 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/0.413, allocations: 1.721 MB / 0.5854 GB, free: 10.75 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.4137, allocations: 256 kB / 0.5856 GB, free: 10.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001978/0.4156, allocations: 0.9089 MB / 0.5865 GB, free: 9.586 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001643/0.4173, allocations: 1.609 MB / 0.5881 GB, free: 7.973 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001629/0.4189, allocations: 1.332 MB / 0.5894 GB, free: 6.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007153/0.4261, allocations: 5.836 MB / 0.5951 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.4261, allocations: 0 / 0.5951 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.4261, allocations: 4 kB / 0.5951 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001406/0.4262, allocations: 0 / 0.5951 GB, free: 0.7695 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.008373/0.4346, allocations: 4.046 MB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4346, allocations: 8.031 kB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008867/0.4355, allocations: 0.6082 MB / 0.5996 GB, free: 12.04 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006367/0.4419, allocations: 1.804 MB / 0.6014 GB, free: 10.23 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004871/0.4468, allocations: 2.114 MB / 0.6034 GB, free: 8.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4469, allocations: 196.9 kB / 0.6036 GB, free: 7.875 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005603/0.4475, allocations: 255.8 kB / 0.6039 GB, free: 7.625 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01611/0.4636, allocations: 8.501 MB / 0.6122 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001626/0.4638, allocations: 39.69 kB / 0.6122 GB, free: 14.4 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007702/0.4645, allocations: 119.9 kB / 0.6123 GB, free: 14.28 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003175/0.4677, allocations: 1.703 MB / 0.614 GB, free: 12.58 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01557/0.4833, allocations: 7.09 MB / 0.6209 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04936/0.5326, allocations: 32.8 MB / 0.6529 GB, free: 3.68 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007898/0.5405, allocations: 2.729 MB / 0.6556 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00223/0.5428, allocations: 1.357 MB / 0.6569 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008131/0.5509, allocations: 3.364 MB / 0.6602 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.602e-05/0.551, allocations: 47.22 kB / 0.6603 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=121): time 4.689e-06/0.551, allocations: 0 / 0.6603 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=129): time 0.03169/0.5827, allocations: 11.58 MB / 0.6716 GB, free: 440 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000128/0.5828, allocations: 166.9 kB / 0.6717 GB, free: 236 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007622/0.5904, allocations: 3.931 MB / 0.6756 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002127/0.5906, allocations: 41.7 kB / 0.6756 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002637/0.5933, allocations: 2.862 MB / 0.6784 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007665/0.594, allocations: 0.5428 MB / 0.6789 GB, free: 8.82 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002124/0.5962, allocations: 1.092 MB / 0.68 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.5963, allocations: 309.1 kB / 0.6803 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003003/0.5993, allocations: 1.697 MB / 0.682 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006272/0.6056, allocations: 5.156 MB / 0.687 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01012/0.6157, allocations: 7.399 MB / 0.6942 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001657/0.6159, allocations: 36 kB / 0.6943 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01418/0.63, allocations: 6.718 MB / 0.7008 GB, free: 14.95 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002018/0.6302, allocations: 63.88 kB / 0.7009 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002914/0.6305, allocations: 120.9 kB / 0.701 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008025/0.6313, allocations: 320.7 kB / 0.7013 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00431/0.6356, allocations: 1.244 MB / 0.7025 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003257/0.6389, allocations: 2.374 MB / 0.7048 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/0.6433, allocations: 291.6 kB / 0.7051 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001079/0.6444, allocations: 336 kB / 0.7054 GB, free: 10.11 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.004173/0.6486, allocations: 1.791 MB / 0.7072 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008968/0.6495, allocations: 325.8 kB / 0.7075 GB, free: 7.984 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005575/0.655, allocations: 2.367 MB / 0.7098 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/0.6551, allocations: 16 kB / 0.7098 GB, free: 5.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6551, allocations: 4 kB / 0.7098 GB, free: 5.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.6551, allocations: 7.984 kB / 0.7098 GB, free: 5.578 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.6701, allocations: 5.637 MB / 0.7153 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.6702, allocations: 7.938 kB / 0.7153 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008581/0.671, allocations: 183.8 kB / 0.7155 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002209/0.6732, allocations: 0.7069 MB / 0.7162 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.6733, allocations: 20 kB / 0.7162 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006805/0.6802, allocations: 4.672 MB / 0.7208 GB, free: 10.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.6802, allocations: 4 kB / 0.7208 GB, free: 10.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008517/0.6887, allocations: 4.357 MB / 0.725 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.6899, allocations: 297.7 kB / 0.7253 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008495/0.6908, allocations: 23.98 kB / 0.7253 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6925, allocations: 71.84 kB / 0.7254 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00024/0.6927, allocations: 72.45 kB / 0.7255 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.6928, allocations: 36 kB / 0.7255 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005135/0.698, allocations: 2.323 MB / 0.7278 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.698, allocations: 0 / 0.7278 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005535/0.7035, allocations: 0.8047 MB / 0.7286 GB, free: 2.176 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.3344/1.038, allocations: 4.967 MB / 0.7334 GB, free: 153.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005377/1.043, allocations: 3.899 MB / 0.7372 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.043, allocations: 0 / 0.7372 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.044, allocations: 1.037 MB / 0.7382 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002191/1.047, allocations: 386.8 kB / 0.7386 GB, free: 151.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04325/1.09, allocations: 37.78 MB / 0.7755 GB, free: 115.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002566/1.092, allocations: 2.228 MB / 0.7777 GB, free: 113.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003244/1.096, allocations: 1.66 MB / 0.7793 GB, free: 111.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001935/1.098, allocations: 1.522 MB / 0.7808 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.001e-06/1.098, allocations: 0 / 0.7808 GB, free: 110.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/1.199, allocations: 58.12 MB / 0.8376 GB, free: 52.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.15/17.35, allocations: 11.17 kB / 0.8376 GB, free: 52.7 MB / 0.5606 GB " [Timeout remaining time 643] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.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_1_0_ModelicaTest_MultiBody_Joints_RevoluteInitialization.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.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: 20.488887078594416]