Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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.001444/0.001444, allocations: 116.4 kB / 20.43 MB, free: 1.457 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.00165/0.00165, allocations: 215.1 kB / 23.75 MB, free: 4.672 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.549/1.549, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.2853/0.2853, allocations: 46.91 MB / 360.8 MB, free: 4.176 MB / 286.1 MB " [Timeout remaining time 179] 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.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Universal,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002534/0.002534, allocations: 88.17 kB / 0.4962 GB, free: 7.746 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3263, allocations: 66.08 MB / 0.5607 GB, free: 4.184 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Universal): time 0.01617/0.3424, allocations: 13.53 MB / 0.574 GB, free: 6.586 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009206/0.3516, allocations: 4.25 MB / 0.5781 GB, free: 2.324 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002233/0.3539, allocations: 79.69 kB / 0.5782 GB, free: 2.246 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00511/0.359, allocations: 2.001 MB / 0.5801 GB, free: 244 kB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005398/0.3644, allocations: 1.953 MB / 0.582 GB, free: 14.28 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3662, allocations: 0.5575 MB / 0.5826 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.006623/0.3728, allocations: 4.044 MB / 0.5865 GB, free: 9.672 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004497/0.3773, allocations: 2.424 MB / 0.5889 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/0.3803, allocations: 1.468 MB / 0.5903 GB, free: 5.719 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004247/0.3845, allocations: 2.208 MB / 0.5925 GB, free: 3.504 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001375/0.3859, allocations: 308 kB / 0.5928 GB, free: 3.203 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003124/0.389, allocations: 1.045 MB / 0.5938 GB, free: 2.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003608/0.3926, allocations: 1.893 MB / 0.5957 GB, free: 264 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004878/0.3975, allocations: 2.236 MB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4082, allocations: 7.321 MB / 0.605 GB, free: 6.656 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.4082, allocations: 0 / 0.605 GB, free: 6.656 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4082, allocations: 0 / 0.605 GB, free: 6.656 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002976/0.4085, allocations: 0 / 0.605 GB, free: 6.656 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: 1760 * Number of variables: 1760 Notification: Performance of Generate backend data structure: time 0.01553/0.424, allocations: 4.953 MB / 0.6098 GB, free: 1.645 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.4241, allocations: 12.03 kB / 0.6098 GB, free: 1.633 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002585/0.4267, allocations: 0.8157 MB / 0.6106 GB, free: 0.8086 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01767/0.4443, allocations: 3.176 MB / 0.6137 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009032/0.4534, allocations: 2.335 MB / 0.616 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004068/0.4538, allocations: 238.2 kB / 0.6162 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.4557, allocations: 315.7 kB / 0.6165 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03605/0.4918, allocations: 12.08 MB / 0.6283 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002319/0.492, allocations: 31.7 kB / 0.6284 GB, free: 14.05 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001705/0.4937, allocations: 147.8 kB / 0.6285 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008061/0.5018, allocations: 2.835 MB / 0.6313 GB, free: 11.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03312/0.5349, allocations: 11.37 MB / 0.6424 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/0.6071, allocations: 40.96 MB / 0.6824 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01232/0.6194, allocations: 4.917 MB / 0.6872 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004546/0.6239, allocations: 2.767 MB / 0.6899 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001474/0.6254, allocations: 0.5634 MB / 0.6904 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.631e-05/0.6255, allocations: 60.56 kB / 0.6905 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=262): time 6.442e-06/0.6255, allocations: 0 / 0.6905 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=283): time 0.05571/0.6812, allocations: 19.98 MB / 0.71 GB, free: 9.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/0.6813, allocations: 77.41 kB / 0.7101 GB, free: 9.191 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005631/0.6869, allocations: 3.036 MB / 0.713 GB, free: 6.137 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006682/0.6876, allocations: 65.69 kB / 0.7131 GB, free: 6.066 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002942/0.6905, allocations: 3.108 MB / 0.7161 GB, free: 2.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.001825/0.6923, allocations: 1.073 MB / 0.7172 GB, free: 1.848 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002717/0.6951, allocations: 1.191 MB / 0.7184 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.6952, allocations: 305.1 kB / 0.7186 GB, free: 352 kB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00523/0.7004, allocations: 2.842 MB / 0.7214 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008299/0.7087, allocations: 6.022 MB / 0.7273 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3249/1.034, allocations: 9.661 MB / 0.7367 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.623e-05/1.034, allocations: 35.19 kB / 0.7368 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of matching and sorting (n=788) (initialization): time 0.01686/1.051, allocations: 10.03 MB / 0.7466 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.832e-05/1.051, allocations: 53.12 kB / 0.7466 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/1.051, allocations: 110.7 kB / 0.7467 GB, free: 143.3 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003297/1.054, allocations: 1.367 MB / 0.7481 GB, free: 143.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004552/1.059, allocations: 1.362 MB / 0.7494 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008486/1.067, allocations: 7.706 MB / 0.7569 GB, free: 138.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00441/1.072, allocations: 360 kB / 0.7573 GB, free: 138.6 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.073, allocations: 339.3 kB / 0.7576 GB, free: 138.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 501 * Number of states: 0 () * Number of discrete variables: 32 (axis1.headAtOrigin,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],axis2.color[3],axis2.color[2],axis2.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (718): * Single equations (assignments): 711 * Array equations: 6 * 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 {(3,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003716/1.076, allocations: 2.299 MB / 0.7598 GB, free: 136.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005717/1.077, allocations: 326 kB / 0.7601 GB, free: 136.2 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009952/1.087, allocations: 6.607 MB / 0.7666 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.81e-05/1.087, allocations: 55.61 kB / 0.7666 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.581e-05/1.087, allocations: 7.984 kB / 0.7666 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-05/1.087, allocations: 8.719 kB / 0.7667 GB, free: 130 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0212/1.108, allocations: 13.84 MB / 0.7802 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.108, allocations: 8 kB / 0.7802 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001991/1.11, allocations: 452.1 kB / 0.7806 GB, free: 115.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002833/1.113, allocations: 1.216 MB / 0.7818 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004577/1.113, allocations: 55.92 kB / 0.7818 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00704/1.12, allocations: 6.914 MB / 0.7886 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/1.121, allocations: 11.94 kB / 0.7886 GB, free: 107.4 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.135, allocations: 9.866 MB / 0.7982 GB, free: 97.48 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001184/1.136, allocations: 285.9 kB / 0.7985 GB, free: 97.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001014/1.137, allocations: 55.58 kB / 0.7986 GB, free: 97.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/1.139, allocations: 197.9 kB / 0.7988 GB, free: 96.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005918/1.14, allocations: 173.5 kB / 0.7989 GB, free: 96.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002516/1.14, allocations: 72 kB / 0.799 GB, free: 96.72 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002693/1.143, allocations: 1.878 MB / 0.8008 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.1e-07/1.143, allocations: 0 / 0.8008 GB, free: 94.84 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004886/1.147, allocations: 1.102 MB / 0.8019 GB, free: 93.75 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * 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 (218): * Single equations (assignments): 211 * Array equations: 6 * 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 {(4,16,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01361/1.161, allocations: 10.53 MB / 0.8122 GB, free: 83.05 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009666/1.171, allocations: 6.675 MB / 0.8187 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/1.171, allocations: 0 / 0.8187 GB, free: 76.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004118/1.175, allocations: 2.653 MB / 0.8213 GB, free: 73.71 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002676/1.178, allocations: 426.2 kB / 0.8217 GB, free: 73.31 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06709/1.245, allocations: 49.09 MB / 0.8697 GB, free: 19.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005282/1.25, allocations: 3.586 MB / 0.8732 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004717/1.255, allocations: 2.2 MB / 0.8753 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003553/1.258, allocations: 2.065 MB / 0.8773 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2.475e-06/1.258, allocations: 0 / 0.8773 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1739/1.432, allocations: 75.64 MB / 0.9512 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.39/26.82, allocations: 0 / 0.9512 GB, free: 15.98 MB / 0.6387 GB " [Timeout remaining time 633] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_Universal.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Universal/Universal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Universal.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: 30.42315881093964]