Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.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.001231/0.001231, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002397/0.003628, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0009304/0.0009304, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0013/0.002231, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.045/1.045, allocations: 177.5 MB / 190 MB, free: 4.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1013/1.146, allocations: 53.87 MB / 243.9 MB, free: 14.84 MB / 250.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.268/0.268, allocations: 34.88 MB / 279.6 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02682/0.2949, allocations: 13.24 MB / 292.8 MB, free: 6.375 MB / 282.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.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") translateModel(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|j1.phi|j1.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.243e-06/1.243e-06, allocations: 0 / 294.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.746e-05/1.871e-05, allocations: 2.859 kB / 294.1 MB, free: 5.086 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal): time 0.00917/0.009189, allocations: 12.78 MB / 306.9 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009226/0.01841, allocations: 4.942 MB / 311.8 MB, free: 3.301 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00246/0.02088, allocations: 111.4 kB / 311.9 MB, free: 3.191 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004219/0.02509, allocations: 3.788 MB / 315.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004993/0.03009, allocations: 2.278 MB / 318 MB, free: 13.1 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002283/0.03237, allocations: 1.099 MB / 319.1 MB, free: 12 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.008437/0.04081, allocations: 7.122 MB / 326.2 MB, free: 4.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00524/0.04605, allocations: 3.894 MB / 330.1 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006336/0.05238, allocations: 4.025 MB / 334.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004319/0.0567, allocations: 2.962 MB / 337.1 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00118/0.05788, allocations: 436 kB / 337.5 MB, free: 9.453 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002638/0.06052, allocations: 1.42 MB / 338.9 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002452/0.06297, allocations: 2.393 MB / 341.3 MB, free: 5.633 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002199/0.06517, allocations: 1.34 MB / 342.7 MB, free: 4.289 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00638/0.07155, allocations: 5.325 MB / 348 MB, free: 14.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.07157, allocations: 3.938 kB / 348 MB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.07157, allocations: 0 / 348 MB, free: 14.94 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001584/0.07173, allocations: 0 / 348 MB, free: 14.94 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.009814/0.08154, allocations: 6.904 MB / 354.9 MB, free: 7.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.08158, allocations: 15.44 kB / 354.9 MB, free: 7.949 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003323/0.0849, allocations: 1.284 MB / 356.2 MB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003638/0.08854, allocations: 2.713 MB / 358.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.08868, allocations: 283.7 kB / 359.2 MB, free: 3.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004607/0.08914, allocations: 388.1 kB / 359.6 MB, free: 3.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008066/0.0972, allocations: 5.828 MB / 365.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.09734, allocations: 55.52 kB / 365.4 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.09769, allocations: 179.8 kB / 365.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/0.09924, allocations: 1.82 MB / 367.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00612/0.1054, allocations: 2.937 MB / 370.4 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03458/0.1399, allocations: 36.18 MB / 406.6 MB, free: 2.09 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004832/0.1448, allocations: 2.072 MB / 408.6 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006603/0.1454, allocations: 429.2 kB / 409 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007261/0.1527, allocations: 4.481 MB / 413.5 MB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.649e-05/0.1527, allocations: 55.5 kB / 413.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of pre-optimization done (n=160): time 4.108e-06/0.1527, allocations: 0 / 413.6 MB, free: 10.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=192): time 0.02661/0.1794, allocations: 9.828 MB / 423.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1794, allocations: 149.8 kB / 423.6 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004484/0.1839, allocations: 3.841 MB / 427.4 MB, free: 13.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001852/0.1841, allocations: 57.69 kB / 427.5 MB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00217/0.1863, allocations: 3.539 MB / 431 MB, free: 9.457 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007298/0.187, allocations: 0.7714 MB / 431.8 MB, free: 8.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001267/0.1882, allocations: 1.315 MB / 433.1 MB, free: 7.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1885, allocations: 301.1 kB / 433.4 MB, free: 7.059 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.1899, allocations: 0.8629 MB / 434.2 MB, free: 6.191 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1824/0.3723, allocations: 4.966 MB / 439.2 MB, free: 99.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005409/0.3777, allocations: 6.934 MB / 446.1 MB, free: 94.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.053e-05/0.3778, allocations: 40.69 kB / 446.2 MB, free: 94.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=905) (initialization): time 0.007538/0.3853, allocations: 5.091 MB / 451.3 MB, free: 94.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.3854, allocations: 72.28 kB / 451.3 MB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001619/0.3855, allocations: 152.4 kB / 451.5 MB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002175/0.3877, allocations: 1.009 MB / 452.5 MB, free: 93.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.3904, allocations: 1.716 MB / 454.2 MB, free: 93.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005046/0.3954, allocations: 6.99 MB / 461.2 MB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.3984, allocations: 299.2 kB / 461.5 MB, free: 88.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003197/0.3987, allocations: 354.4 kB / 461.8 MB, free: 88.77 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 676 * Number of states: 0 () * Number of discrete variables: 42 (Universal1.cylinderColor[3],Universal1.cylinderColor[2],Universal1.cylinderColor[1],FixedTranslation1.color[3],FixedTranslation1.color[2],FixedTranslation1.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],b3.color[3],b3.color[2],b3.color[1],b2.color[3],b2.color[2],b2.color[1],b2.body.sphereColor[3],b2.body.sphereColor[2],b2.body.sphereColor[1],b1.color[3],b1.color[2],b1.color[1],b1.body.sphereColor[3],b1.body.sphereColor[2],b1.body.sphereColor[1],j2.boxColor[3],j2.boxColor[2],j2.boxColor[1],j1.cylinderColor[3],j1.cylinderColor[2],j1.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 (851): * Single equations (assignments): 844 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,17,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001468/0.4002, allocations: 0.6927 MB / 462.5 MB, free: 88.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005101/0.4007, allocations: 266.7 kB / 462.8 MB, free: 88.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.4029, allocations: 1.471 MB / 464.3 MB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.4029, allocations: 18.12 kB / 464.3 MB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.4029, allocations: 3.969 kB / 464.3 MB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4029, allocations: 7.594 kB / 464.3 MB, free: 88.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/0.412, allocations: 5.815 MB / 470.1 MB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.507e-05/0.4121, allocations: 14.58 kB / 470.1 MB, free: 87.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/0.4127, allocations: 299.2 kB / 470.4 MB, free: 87.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/0.4136, allocations: 392.8 kB / 470.8 MB, free: 87.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002014/0.4157, allocations: 0.9664 MB / 471.8 MB, free: 87.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.4158, allocations: 39.94 kB / 471.8 MB, free: 87.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004202/0.42, allocations: 6.152 MB / 478 MB, free: 81.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.42, allocations: 11.94 kB / 478 MB, free: 81.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003032/0.423, allocations: 2.468 MB / 480.4 MB, free: 79.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006375/0.4236, allocations: 43.38 kB / 480.5 MB, free: 79.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.4245, allocations: 33.81 kB / 480.5 MB, free: 79.41 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000236/0.4247, allocations: 148.1 kB / 480.7 MB, free: 79.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.377e-05/0.4248, allocations: 47.78 kB / 480.7 MB, free: 79.32 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001556/0.4263, allocations: 1.459 MB / 482.2 MB, free: 78.38 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4263, allocations: 0 / 482.2 MB, free: 78.38 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00421/0.4306, allocations: 1.277 MB / 483.4 MB, free: 77.25 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 2 (j1.phi,j1.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 (144): * Single equations (assignments): 137 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,15,60.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004358/0.431, allocations: 183.3 kB / 483.6 MB, free: 77.11 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004239/0.4352, allocations: 3.537 MB / 487.2 MB, free: 74.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001877/0.4354, allocations: 127.4 kB / 487.3 MB, free: 73.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.4376, allocations: 1.793 MB / 489.1 MB, free: 72.16 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002505/0.4401, allocations: 3.65 MB / 492.7 MB, free: 68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01325/0.4534, allocations: 9.172 MB / 0.4901 GB, free: 58.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.4545, allocations: 1.493 MB / 0.4916 GB, free: 57.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001447/0.456, allocations: 0.5759 MB / 0.4922 GB, free: 56.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007535/0.4567, allocations: 0.6271 MB / 0.4928 GB, free: 56.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.4567, allocations: 0 / 0.4928 GB, free: 56.05 MB / 426.7 MB Notification: Performance of Templates: time 0.05718/0.5139, allocations: 42.79 MB / 0.5346 GB, free: 13.54 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.FourbarVariants.SphericalAndUniversal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/FourbarVariants/SphericalAndUniversal/SphericalAndUniversal.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.096058163791895]