Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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.0009172/0.0009172, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003541/0.003541, allocations: 158.7 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.8971/0.8971, allocations: 177 MB / 204.9 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.2559/0.2559, allocations: 34.24 MB / 295.6 MB, free: 0.6836 MB / 266.7 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: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 443.4 MB, free: 1.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.042e-05, allocations: 2.281 kB / 443.4 MB, free: 1.051 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.1945/0.1945, allocations: 11.58 MB / 455 MB, free: 37.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00686/0.2014, allocations: 4.633 MB / 459.7 MB, free: 34.71 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001053/0.2024, allocations: 97.56 kB / 459.7 MB, free: 34.68 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003/0.2054, allocations: 4.068 MB / 463.8 MB, free: 32.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002691/0.2081, allocations: 2.309 MB / 466.1 MB, free: 31.84 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001461/0.2096, allocations: 1.308 MB / 467.4 MB, free: 31.27 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.00361/0.2132, allocations: 6.538 MB / 474 MB, free: 28.83 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002492/0.2157, allocations: 4.547 MB / 478.5 MB, free: 26.82 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/0.2178, allocations: 3.313 MB / 481.8 MB, free: 25.35 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002754/0.2206, allocations: 3.207 MB / 485 MB, free: 24.47 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006439/0.2212, allocations: 0.5084 MB / 485.5 MB, free: 24.47 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.2233, allocations: 1.605 MB / 487.2 MB, free: 24.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002031/0.2253, allocations: 2.824 MB / 490 MB, free: 22.96 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.227, allocations: 1.795 MB / 491.8 MB, free: 22.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0097/0.2367, allocations: 10.09 MB / 0.4901 GB, free: 17.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2367, allocations: 0 / 0.4901 GB, free: 17.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2367, allocations: 4 kB / 0.4901 GB, free: 17.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001817/0.2369, allocations: 1.312 kB / 0.4901 GB, free: 17.35 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.0107/0.2476, allocations: 6.627 MB / 0.4966 GB, free: 12.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2476, allocations: 9 kB / 0.4966 GB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008383/0.256, allocations: 2.815 MB / 0.4993 GB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004862/0.2609, allocations: 3.565 MB / 0.5028 GB, free: 8.887 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001698/0.2611, allocations: 380.1 kB / 0.5032 GB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005202/0.2616, allocations: 436.5 kB / 0.5036 GB, free: 8.074 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01515/0.2767, allocations: 13.96 MB / 0.5172 GB, free: 9.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-05/0.2768, allocations: 59.52 kB / 0.5173 GB, free: 9.172 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003907/0.2772, allocations: 207.8 kB / 0.5175 GB, free: 8.969 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002357/0.2796, allocations: 2.41 MB / 0.5198 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.2946, allocations: 11.75 MB / 0.5313 GB, free: 10.79 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04706/0.3417, allocations: 48.22 MB / 0.5784 GB, free: 9.344 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/0.3493, allocations: 4.307 MB / 0.5826 GB, free: 4.996 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.3518, allocations: 2.75 MB / 0.5853 GB, free: 2.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01162/0.3634, allocations: 10.3 MB / 0.5954 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3634, allocations: 55.81 kB / 0.5954 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=197): time 4.809e-06/0.3634, allocations: 0 / 0.5954 GB, free: 7.828 MB / 0.4948 GB Notification: Performance of matching and sorting (n=248): time 0.291/0.6544, allocations: 44.77 MB / 0.6391 GB, free: 154.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/0.6545, allocations: 231.3 kB / 0.6393 GB, free: 153.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005058/0.6596, allocations: 4.666 MB / 0.6439 GB, free: 152.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000511/0.6601, allocations: 63.33 kB / 0.644 GB, free: 152.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001247/0.6613, allocations: 3.987 MB / 0.6479 GB, free: 149.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005956/0.6619, allocations: 0.9664 MB / 0.6488 GB, free: 149.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001421/0.6633, allocations: 1.484 MB / 0.6502 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.3e-05/0.6634, allocations: 304.2 kB / 0.6505 GB, free: 148.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002894/0.6663, allocations: 3.436 MB / 0.6539 GB, free: 146.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004171/0.6704, allocations: 7.752 MB / 0.6615 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009532/0.68, allocations: 11.86 MB / 0.673 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.508e-05/0.68, allocations: 42.47 kB / 0.6731 GB, free: 130.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02119/0.7012, allocations: 14.39 MB / 0.6871 GB, free: 126 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.633e-05/0.7013, allocations: 73.16 kB / 0.6872 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/0.7015, allocations: 152.2 kB / 0.6874 GB, free: 126 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007122/0.7086, allocations: 4.02 MB / 0.6913 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003098/0.7117, allocations: 1.629 MB / 0.6929 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01537/0.7271, allocations: 19.51 MB / 0.7119 GB, free: 111.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004727/0.7318, allocations: 499.2 kB / 0.7124 GB, free: 111.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004731/0.7323, allocations: 436 kB / 0.7128 GB, free: 110.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 679 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (880): * Single equations (assignments): 876 * 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 {(2,58,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003686/0.736, allocations: 2.653 MB / 0.7154 GB, free: 108.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006214/0.7366, allocations: 413.3 kB / 0.7158 GB, free: 107.8 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009395/0.746, allocations: 8.566 MB / 0.7242 GB, free: 99.16 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/0.746, allocations: 24 kB / 0.7242 GB, free: 99.14 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.746, allocations: 14.69 kB / 0.7242 GB, free: 99.13 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.552e-05/0.746, allocations: 11.97 kB / 0.7242 GB, free: 99.12 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01806/0.7641, allocations: 16.24 MB / 0.7401 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7641, allocations: 0 / 0.7401 GB, free: 82.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.7651, allocations: 403.3 kB / 0.7405 GB, free: 82.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006029/0.7711, allocations: 4.07 MB / 0.7444 GB, free: 78.49 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002128/0.7713, allocations: 39.98 kB / 0.7445 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01407/0.7854, allocations: 17.91 MB / 0.762 GB, free: 60.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7854, allocations: 11.27 kB / 0.762 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01326/0.7987, allocations: 13.17 MB / 0.7748 GB, free: 47.23 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/0.7998, allocations: 396.7 kB / 0.7752 GB, free: 46.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003612/0.8002, allocations: 40 kB / 0.7752 GB, free: 46.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/0.8015, allocations: 255.6 kB / 0.7755 GB, free: 46.55 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.8019, allocations: 158.1 kB / 0.7756 GB, free: 46.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.802, allocations: 69.2 kB / 0.7757 GB, free: 46.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00279/0.8048, allocations: 2.734 MB / 0.7784 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.1e-08/0.8048, allocations: 4.062 kB / 0.7784 GB, free: 43.59 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005105/0.8099, allocations: 1.57 MB / 0.7799 GB, free: 42.02 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.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 (173): * Single equations (assignments): 169 * 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 {(2,52,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005457/0.8105, allocations: 229.8 kB / 0.7801 GB, free: 41.79 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007299/0.8178, allocations: 7.903 MB / 0.7878 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/0.8178, allocations: 448 / 0.7878 GB, free: 33.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.8202, allocations: 2.869 MB / 0.7906 GB, free: 31.02 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001806/0.822, allocations: 464.1 kB / 0.7911 GB, free: 30.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.8376, allocations: 13.64 MB / 0.8044 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002746/0.8403, allocations: 3.565 MB / 0.8079 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009743/0.8413, allocations: 324.5 kB / 0.8082 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of SimCode: time 1.303e-06/0.8413, allocations: 0 / 0.8082 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of Templates: time 0.2795/1.121, allocations: 102.6 MB / 0.9084 GB, free: 126.8 MB / 0.5417 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/JointUSP2/JointUSP2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.JointUSP2.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: 10.182805486023426]