Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.001776/0.001776, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002145/0.002145, allocations: 210.5 kB / 24.48 MB, free: 3.934 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.494/1.494, allocations: 230.5 MB / 258.1 MB, free: 7.801 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.2335/0.2335, allocations: 46.95 MB / 361.5 MB, free: 3.934 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: translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") translateModel(ModelicaTest.MultiBody.Visualizers.Torus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|torus1.surface.nu|torus1.surface.nv|torus2.surface.nu|torus2.surface.nv",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002697/0.002697, allocations: 79.88 kB / 0.4974 GB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3454/0.3481, allocations: 66.1 MB / 0.5619 GB, free: 3.953 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.Torus): time 0.01305/0.3611, allocations: 9.792 MB / 0.5715 GB, free: 10.11 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006038/0.3672, allocations: 2.709 MB / 0.5741 GB, free: 7.395 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.3683, allocations: 59.81 kB / 0.5742 GB, free: 7.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002682/0.371, allocations: 1.315 MB / 0.5755 GB, free: 6.016 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00272/0.3737, allocations: 1.249 MB / 0.5767 GB, free: 4.762 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.3741, allocations: 83.84 kB / 0.5768 GB, free: 4.68 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003302/0.3774, allocations: 2.701 MB / 0.5794 GB, free: 1.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002076/0.3794, allocations: 1.675 MB / 0.581 GB, free: 268 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001516/0.3809, allocations: 1.055 MB / 0.5821 GB, free: 15.2 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.3831, allocations: 1.541 MB / 0.5836 GB, free: 13.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00044/0.3835, allocations: 208 kB / 0.5838 GB, free: 13.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009775/0.3845, allocations: 415.4 kB / 0.5842 GB, free: 13.05 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001411/0.3859, allocations: 1.429 MB / 0.5856 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.3874, allocations: 1.191 MB / 0.5867 GB, free: 10.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006318/0.3937, allocations: 5.487 MB / 0.5921 GB, free: 4.906 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3937, allocations: 0 / 0.5921 GB, free: 4.906 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3937, allocations: 0 / 0.5921 GB, free: 4.906 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.3938, allocations: 0 / 0.5921 GB, free: 4.906 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: 1443 * Number of variables: 1443 Notification: Performance of Generate backend data structure: time 0.005921/0.3997, allocations: 3.601 MB / 0.5956 GB, free: 1.254 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.3998, allocations: 12.03 kB / 0.5956 GB, free: 1.242 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.41, allocations: 2.962 MB / 0.5985 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.4138, allocations: 1.496 MB / 0.6 GB, free: 12.75 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001785/0.414, allocations: 172.6 kB / 0.6001 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006842/0.4147, allocations: 224 kB / 0.6003 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.4299, allocations: 9.472 MB / 0.6096 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.068e-05/0.43, allocations: 15.88 kB / 0.6096 GB, free: 2.484 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003373/0.4303, allocations: 107.8 kB / 0.6097 GB, free: 2.379 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003943/0.4342, allocations: 2.373 MB / 0.612 GB, free: 4 kB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.4507, allocations: 8.65 MB / 0.6205 GB, free: 7.332 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04087/0.4916, allocations: 26.43 MB / 0.6463 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005119/0.4967, allocations: 2.03 MB / 0.6483 GB, free: 10.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001544/0.4983, allocations: 0.9061 MB / 0.6492 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008919/0.5072, allocations: 3.769 MB / 0.6528 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.5072, allocations: 43.22 kB / 0.6529 GB, free: 5.316 MB / 494.1 MB Notification: Performance of pre-optimization done (n=126): time 5.09e-06/0.5072, allocations: 4 kB / 0.6529 GB, free: 5.312 MB / 494.1 MB Notification: Performance of matching and sorting (n=126): time 0.006502/0.5137, allocations: 2.726 MB / 0.6555 GB, free: 2.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/0.5138, allocations: 64.06 kB / 0.6556 GB, free: 2.508 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004168/0.518, allocations: 2.62 MB / 0.6582 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.722e-05/0.518, allocations: 33.7 kB / 0.6582 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00225/0.5203, allocations: 2.77 MB / 0.6609 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005757/0.5209, allocations: 0.5118 MB / 0.6614 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.5221, allocations: 0.9052 MB / 0.6623 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001894/0.5223, allocations: 349.7 kB / 0.6626 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002157/0.5245, allocations: 1.355 MB / 0.6639 GB, free: 9.867 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004676/0.5291, allocations: 4.106 MB / 0.6679 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007738/0.5369, allocations: 5.971 MB / 0.6738 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-05/0.537, allocations: 28 kB / 0.6738 GB, free: 13 MB / 0.5137 GB Notification: Performance of matching and sorting (n=588) (initialization): time 0.009831/0.5468, allocations: 5.288 MB / 0.679 GB, free: 7.703 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000118/0.5469, allocations: 51.98 kB / 0.679 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001733/0.5471, allocations: 96 kB / 0.6791 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/0.5473, allocations: 128 kB / 0.6792 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003007/0.5503, allocations: 0.9747 MB / 0.6802 GB, free: 6.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002068/0.5505, allocations: 191.2 kB / 0.6804 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003019/0.5535, allocations: 0.6049 MB / 0.681 GB, free: 5.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005212/0.554, allocations: 280.2 kB / 0.6812 GB, free: 5.387 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 21 (fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (540): * Single equations (assignments): 534 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003155/0.5572, allocations: 1.892 MB / 0.6831 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/0.5576, allocations: 214.5 kB / 0.6833 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005523/0.5581, allocations: 262.3 kB / 0.6835 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-05/0.5581, allocations: 19.98 kB / 0.6835 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5581, allocations: 0 / 0.6835 GB, free: 2.992 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.5582, allocations: 3.984 kB / 0.6835 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.569, allocations: 4.277 MB / 0.6877 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.569, allocations: 4 kB / 0.6877 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006346/0.5696, allocations: 135.8 kB / 0.6879 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.71e-05/0.5697, allocations: 4 kB / 0.6879 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-05/0.5697, allocations: 24.56 kB / 0.6879 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.297e-05/0.5698, allocations: 15.98 kB / 0.6879 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/0.5698, allocations: 7.938 kB / 0.6879 GB, free: 14.42 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002587/0.5723, allocations: 1.785 MB / 0.6897 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005576/0.5729, allocations: 218.2 kB / 0.6899 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003337/0.5732, allocations: 20 kB / 0.6899 GB, free: 12.33 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006966/0.5739, allocations: 35.95 kB / 0.6899 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001352/0.5741, allocations: 68.28 kB / 0.69 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/0.5742, allocations: 43.92 kB / 0.69 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.002875/0.577, allocations: 1.471 MB / 0.6915 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.577, allocations: 0 / 0.6915 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004072/0.5811, allocations: 1.008 MB / 0.6924 GB, free: 9.684 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * 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 (78): * Single equations (assignments): 72 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/0.5815, allocations: 150.9 kB / 0.6926 GB, free: 9.527 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005296/0.5868, allocations: 3.011 MB / 0.6955 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/0.5868, allocations: 8.188 kB / 0.6955 GB, free: 6.535 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.5878, allocations: 0.6786 MB / 0.6962 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001363/0.5892, allocations: 186.8 kB / 0.6964 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01601/0.6052, allocations: 7.683 MB / 0.7039 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004618/0.6098, allocations: 2.418 MB / 0.7062 GB, free: 11.43 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006503/0.6105, allocations: 191.4 kB / 0.7064 GB, free: 11.25 MB / 0.545 GB Notification: Performance of SimCode: time 1.583e-06/0.6105, allocations: 3.938 kB / 0.7064 GB, free: 11.24 MB / 0.545 GB Notification: Performance of Templates: time 0.2986/0.9091, allocations: 42.57 MB / 0.748 GB, free: 146.5 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/Torus/Torus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.Torus.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.987523850984871]