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.001384/0.001384, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001664/0.001664, allocations: 206.6 kB / 20.75 MB, free: 2.312 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.574/1.574, allocations: 230.5 MB / 254 MB, free: 15.02 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.2599/0.2599, allocations: 46.92 MB / 357 MB, free: 10.19 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.002362/0.002362, allocations: 87.86 kB / 0.491 GB, free: 7.723 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.145, allocations: 66.04 MB / 0.5555 GB, free: 5.555 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.0134/0.1584, allocations: 10.29 MB / 0.5655 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.008561/0.167, allocations: 3.826 MB / 0.5693 GB, free: 7.371 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.1688, allocations: 67.62 kB / 0.5693 GB, free: 7.305 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004377/0.1732, allocations: 1.958 MB / 0.5712 GB, free: 5.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.1784, allocations: 1.674 MB / 0.5729 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001937/0.1803, allocations: 0.6122 MB / 0.5735 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006315/0.1866, allocations: 3.372 MB / 0.5768 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003693/0.1903, allocations: 2.193 MB / 0.5789 GB, free: 13.42 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002934/0.1933, allocations: 1.261 MB / 0.5801 GB, free: 12.16 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00337/0.1966, allocations: 1.81 MB / 0.5819 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000997/0.1976, allocations: 256 kB / 0.5821 GB, free: 10.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00266/0.2003, allocations: 1.053 MB / 0.5832 GB, free: 9.035 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002293/0.2026, allocations: 1.593 MB / 0.5847 GB, free: 7.438 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003176/0.2058, allocations: 1.813 MB / 0.5865 GB, free: 5.613 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3286/0.5344, allocations: 5.808 MB / 0.5922 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.979e-06/0.5344, allocations: 1.734 kB / 0.5922 GB, free: 13.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5344, allocations: 0 / 0.5922 GB, free: 13.6 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002557/0.5346, allocations: 0 / 0.5922 GB, free: 13.6 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.01064/0.5453, allocations: 4.124 MB / 0.5962 GB, free: 11.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.27e-05/0.5453, allocations: 10.53 kB / 0.5962 GB, free: 11.83 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00164/0.547, allocations: 0.6056 MB / 0.5968 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007663/0.5546, allocations: 1.804 MB / 0.5986 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005074/0.5597, allocations: 2.168 MB / 0.6007 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002208/0.5599, allocations: 191.5 kB / 0.6009 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001007/0.5609, allocations: 257.6 kB / 0.6011 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.5784, allocations: 8.458 MB / 0.6094 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002079/0.5786, allocations: 35.48 kB / 0.6094 GB, free: 9.125 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008858/0.5795, allocations: 123.5 kB / 0.6095 GB, free: 9.074 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/0.583, allocations: 1.698 MB / 0.6112 GB, free: 8.801 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01538/0.5984, allocations: 7.114 MB / 0.6181 GB, free: 6.785 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04597/0.6444, allocations: 34.08 MB / 0.6514 GB, free: 10.61 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008752/0.6531, allocations: 3.178 MB / 0.6545 GB, free: 7.285 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002458/0.6556, allocations: 1.364 MB / 0.6558 GB, free: 5.91 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009523/0.6651, allocations: 4.459 MB / 0.6602 GB, free: 1.262 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.6652, allocations: 57.09 kB / 0.6602 GB, free: 1.207 MB / 478.1 MB Notification: Performance of pre-optimization done (n=121): time 5.19e-06/0.6652, allocations: 0 / 0.6602 GB, free: 1.207 MB / 478.1 MB Notification: Performance of matching and sorting (n=129): time 0.03594/0.7011, allocations: 11.74 MB / 0.6717 GB, free: 5.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001302/0.7012, allocations: 166.9 kB / 0.6719 GB, free: 5.18 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008254/0.7095, allocations: 3.727 MB / 0.6755 GB, free: 1.465 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003967/0.7099, allocations: 41.7 kB / 0.6756 GB, free: 1.418 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003043/0.7129, allocations: 2.868 MB / 0.6784 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009798/0.7139, allocations: 0.5434 MB / 0.6789 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00391/0.7178, allocations: 1.087 MB / 0.6799 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.718, allocations: 304.9 kB / 0.6802 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003635/0.7216, allocations: 1.701 MB / 0.6819 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00701/0.7287, allocations: 5.122 MB / 0.6869 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01037/0.739, allocations: 7.402 MB / 0.6941 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001307/0.7392, allocations: 32.5 kB / 0.6942 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of matching and sorting (n=692) (initialization): time 0.01437/0.7535, allocations: 6.734 MB / 0.7007 GB, free: 4.926 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.7537, allocations: 63.97 kB / 0.7008 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002107/0.7539, allocations: 120 kB / 0.7009 GB, free: 4.746 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008269/0.7547, allocations: 317.7 kB / 0.7012 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004576/0.7593, allocations: 1.24 MB / 0.7024 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.7627, allocations: 2.505 MB / 0.7049 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004086/0.7668, allocations: 291.6 kB / 0.7051 GB, free: 264 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001051/0.7678, allocations: 332 kB / 0.7055 GB, free: 15.93 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.004299/0.7721, allocations: 1.79 MB / 0.7072 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009349/0.7731, allocations: 325.8 kB / 0.7075 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005928/0.779, allocations: 2.367 MB / 0.7098 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.992e-05/0.779, allocations: 12 kB / 0.7098 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.684e-05/0.7791, allocations: 4 kB / 0.7098 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.7791, allocations: 7.984 kB / 0.7099 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0152/0.7943, allocations: 5.909 MB / 0.7156 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.128e-05/0.7943, allocations: 0 / 0.7156 GB, free: 5.457 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.7953, allocations: 171.7 kB / 0.7158 GB, free: 5.289 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002505/0.7978, allocations: 0.7147 MB / 0.7165 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002426/0.798, allocations: 26.08 kB / 0.7165 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007397/0.8054, allocations: 4.812 MB / 0.7212 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/0.8055, allocations: 7.938 kB / 0.7212 GB, free: 15.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/0.8141, allocations: 4.351 MB / 0.7255 GB, free: 11.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.8153, allocations: 378.7 kB / 0.7258 GB, free: 10.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009582/0.8163, allocations: 20 kB / 0.7258 GB, free: 10.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001785/0.8181, allocations: 75.84 kB / 0.7259 GB, free: 10.74 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/0.8184, allocations: 68.5 kB / 0.726 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001757/0.8186, allocations: 39.94 kB / 0.726 GB, free: 10.64 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.005025/0.8236, allocations: 2.327 MB / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8236, allocations: 0 / 0.7283 GB, free: 8.324 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005579/0.8292, allocations: 0.7989 MB / 0.7291 GB, free: 7.527 MB / 0.545 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.009931/0.8391, allocations: 4.975 MB / 0.7339 GB, free: 2.512 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008205/0.8473, allocations: 3.898 MB / 0.7377 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.8473, allocations: 0 / 0.7377 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002129/0.8495, allocations: 1.03 MB / 0.7387 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003745/0.8532, allocations: 398.9 kB / 0.7391 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07672/0.9299, allocations: 37.73 MB / 0.776 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005708/0.9356, allocations: 2.789 MB / 0.7787 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.005038/0.9407, allocations: 1.656 MB / 0.7803 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00348/0.9442, allocations: 1.522 MB / 0.7818 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of SimCode: time 1.683e-06/0.9442, allocations: 0 / 0.7818 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.125/1.069, allocations: 57.99 MB / 0.8384 GB, free: 2.66 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.99/24.06, allocations: 18.62 kB / 0.8384 GB, free: 2.648 MB / 0.6544 GB " [Timeout remaining time 636] (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: 27.72821513598319]